File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ matrix:
1515 - php : 5.6
1616 env : SYMFONY_VERSION=2.7.* VARNISH_VERSION=3.0 COMPOSER_FLAGS="--prefer-lowest"
1717 - php : 7.0
18- env : VARNISH_VERSION=4.1
18+ env :
19+ - VARNISH_VERSION=4.1
20+ - DOCCHECK=true
1921
2022branches :
2123 only :
@@ -42,17 +44,17 @@ before_script:
4244 sudo apt-get update -qq
4345 sudo apt-get install -qq varnish
4446 fi
45- - sudo apt-get install -qq python-sphinx enchant
46- - sudo pip install -r doc/requirements.txt
47+ - if [ "$DOCCHECK" = true ]; then sudo apt-get install -qq python-sphinx enchant; fi
48+ - if [ "$DOCCHECK" = true ]; then sudo pip install -r doc/requirements.txt; fi
4749 # Install NGINX
4850 - sh ./tests/install-nginx.sh
4951 # Starting webserver
5052 - if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]; then ./tests/ci/install-apache-hhvm.sh; fi
5153
5254script :
5355 - vendor/bin/phpunit --coverage-clover=coverage.clover
54- - make -C doc SPHINXOPTS='-nW' html
55- - make -C doc spelling
56+ - if [[ "$DOCCHECK" = true ]]; then make -C doc SPHINXOPTS='-nW' html; fi
57+ - if [[ "$DOCCHECK" = true ]]; then make -C doc spelling; fi
5658
5759after_script :
5860 # avoid uploading the code coverage for PHP 7 and HHVM as they cannot generate it (PHPUnit dropped the old HHVM driver
You can’t perform that action at this time.
0 commit comments