Cleanup tests
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -9,13 +9,6 @@ php:
|
|||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
install:
|
install: travis_retry composer install --no-interaction --no-scripts --prefer-source
|
||||||
- travis_retry composer install --no-interaction --no-scripts --prefer-source
|
|
||||||
|
|
||||||
script:
|
script: vendor/bin/phpunit
|
||||||
- if [ "$TRAVIS_PHP_VERSION" != "5.6" ] || [ "$TRAVIS_PULL_REQUEST" != false ]; then vendor/bin/phpunit; fi
|
|
||||||
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ] && [ "$TRAVIS_PULL_REQUEST" == false ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi
|
|
||||||
|
|
||||||
after_script:
|
|
||||||
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ] && [ "$TRAVIS_PULL_REQUEST" == false ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
|
|
||||||
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ] && [ "$TRAVIS_PULL_REQUEST" == false ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user