From 601a863fc4e42600b8d006d006651c7a325dc0e6 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 29 May 2016 12:00:02 +0100 Subject: [PATCH] Cleanup tests --- .travis.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index c3205f24..cf51d22d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,6 @@ php: sudo: false -install: - - travis_retry composer install --no-interaction --no-scripts --prefer-source +install: travis_retry composer install --no-interaction --no-scripts --prefer-source -script: - - 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 +script: vendor/bin/phpunit