This repository was archived by the owner on Jan 18, 2018. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 - 5.5.9
55 - 5.5
66 - 5.6
7+ - 7.0
78 - hhvm
89
910sudo : false
@@ -12,9 +13,9 @@ install:
1213 - travis_retry composer install --no-interaction --prefer-source
1314
1415script :
15- - bash -c 'if [ "$TRAVIS_PHP_VERSION" = = "hhvm " ]; then vendor/bin/phpunit; fi;'
16- - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm " ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi;'
16+ - if [ "$TRAVIS_PHP_VERSION" != "5.5.9" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" ! = "5.6 " ]; then vendor/bin/phpunit; fi
17+ - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5 " ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi
1718
1819after_script :
19- - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm " ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
20- - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm " ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
20+ - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5 " ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then wget https://scrutinizer-ci.com/ocular.phar; fi
21+ - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5 " ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
You can’t perform that action at this time.
0 commit comments