Skip to content

Commit abe2fcd

Browse files
committed
build for symfony 3.3 and only spellcheck in one build
1 parent a8a5cfa commit abe2fcd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ php:
1919
- 7.1
2020

2121
env:
22-
- SYMFONY_VERSION='3.1.*'
22+
- SYMFONY_VERSION='3.3.*'
2323

2424
branches:
2525
only:
@@ -37,6 +37,7 @@ matrix:
3737
- SYMFONY_VERSION='3.1.*'
3838
- PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
3939
- COVERAGE=true
40+
- DOCCHECK=true
4041
- php: 7.1
4142
env:
4243
- SYMFONY_VERSION='2.8.*'
@@ -60,8 +61,8 @@ before_script:
6061

6162
script:
6263
- SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/phpunit ${PHPUNIT_FLAGS}
63-
- make -C Resources/doc SPHINXOPTS='-nW' html
64-
- make -C Resources/doc spelling
64+
- if [[ "$DOCCHECK" = true ]]; then make -C Resources/doc SPHINXOPTS='-nW' html; fi
65+
- if [[ "$DOCCHECK" = true ]]; then make -C Resources/doc spelling; fi
6566

6667
after_script:
6768
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi

0 commit comments

Comments
 (0)