We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95c93cf + e69d782 commit 282b1c9Copy full SHA for 282b1c9
2 files changed
.travis.yml
@@ -15,9 +15,20 @@ branches:
15
- upstream
16
17
install:
18
- - composer install
+ - composer self-update
19
+ - composer install -o
20
+ - |
21
+ if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
22
+ composer require "phpunit/phpunit=~5.7"
23
+ else
24
+ if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then
25
+ composer require "phpunit/phpunit=~5"
26
27
+ composer require "phpunit/phpunit=~4.8"
28
+ fi
29
30
-script: phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
31
+script: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
32
33
after_script:
34
- wget https://scrutinizer-ci.com/ocular.phar
0 commit comments