File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 55 - 5.4
66 - 5.5
77 - 5.6
8- - hhvm
98 - 7
109
1110env :
1211 - VARNISH_VERSION=4.0
1312
1413matrix :
1514 include :
15+ - php : hhvm
16+ dist : trusty
1617 - php : 5.5
1718 env : VARNISH_VERSION=3.0
1819 - php : 5.3
@@ -27,6 +28,7 @@ branches:
2728before_script :
2829 # Install deps
2930 - 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"
3032 # Install Varnish
3133 - curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -
3234 - echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-${VARNISH_VERSION}" | sudo tee -a /etc/apt/sources.list
@@ -40,7 +42,8 @@ before_script:
4042 - sh -c "if [ '$TRAVIS_PHP_VERSION' = 'hhvm' ]; then ./tests/ci/install-apache-hhvm.sh; fi"
4143
4244script :
43- - phpunit --coverage-clover=coverage.clover
45+ - sh -c "if [ '$TRAVIS_PHP_VERSION' = '7' ]; then php phpunit-5.7.phar --coverage-clover=coverage.clover; fi"
46+ - sh -c "if [ '$TRAVIS_PHP_VERSION' \< '7' ]; then phpunit --coverage-clover=coverage.clover; fi"
4447 - make -C doc SPHINXOPTS='-nW' html
4548 - make -C doc spelling
4649
You can’t perform that action at this time.
0 commit comments