File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 55 - 5.4
66 - 5.5
77 - 5.6
8- - 7
8+ - 7.0
9+ - 7.1
10+ - 7.2
911
1012env :
1113 - VARNISH_VERSION=4.0
@@ -28,7 +30,7 @@ branches:
2830before_script :
2931 # Install deps
3032 - composer update $COMPOSER_FLAGS --dev --prefer-source --no-interaction
31- - sh -c "if [ '$TRAVIS_PHP_VERSION' = '7' ] ; then wget https://phar.phpunit.de/phpunit-5.7.phar; fi"
33+ - bash -c "if [[ '$TRAVIS_PHP_VERSION' == '7.'* ]] ; then wget https://phar.phpunit.de/phpunit-5.7.phar; fi"
3234 # Install Varnish
3335 - curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
3436 - echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-${VARNISH_VERSION}" | sudo tee -a /etc/apt/sources.list
@@ -42,7 +44,7 @@ before_script:
4244 - sh -c "if [ '$TRAVIS_PHP_VERSION' = 'hhvm' ]; then ./tests/ci/install-apache-hhvm.sh; fi"
4345
4446script :
45- - sh -c "if [ '$TRAVIS_PHP_VERSION' = '7' ] ; then php phpunit-5.7.phar --coverage-clover=coverage.clover; fi"
47+ - bash -c "if [[ '$TRAVIS_PHP_VERSION' == '7.'* ]] ; then php phpunit-5.7.phar --coverage-clover=coverage.clover; fi"
4648 - sh -c "if [ '$TRAVIS_PHP_VERSION' \< '7' ]; then phpunit --coverage-clover=coverage.clover; fi"
4749 - make -C doc SPHINXOPTS='-nW' html
4850 - make -C doc spelling
You can’t perform that action at this time.
0 commit comments