Skip to content

Commit 8c21c05

Browse files
committed
build for symfony 3.3 and only spellcheck in one build
1 parent 1b78e7f commit 8c21c05

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
@@ -20,7 +20,7 @@ php:
2020
- hhvm
2121

2222
env:
23-
- SYMFONY_VERSION='3.1.*'
23+
- SYMFONY_VERSION='3.3.*'
2424

2525
branches:
2626
only:
@@ -38,6 +38,7 @@ matrix:
3838
- SYMFONY_VERSION='3.1.*'
3939
- PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
4040
- COVERAGE=true
41+
- DOCCHECK=true
4142
- php: 7.1
4243
env:
4344
- SYMFONY_VERSION='2.8.*'
@@ -58,8 +59,8 @@ before_script:
5859

5960
script:
6061
- SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/phpunit ${PHPUNIT_FLAGS}
61-
- make -C Resources/doc SPHINXOPTS='-nW' html
62-
- make -C Resources/doc spelling
62+
- if [[ "$DOCCHECK" = true ]]; then make -C Resources/doc SPHINXOPTS='-nW' html; fi
63+
- if [[ "$DOCCHECK" = true ]]; then make -C Resources/doc spelling; fi
6364

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

0 commit comments

Comments
 (0)