From 700d609ef386901fced61cf7ed2a0e88de637115 Mon Sep 17 00:00:00 2001 From: romeOz Date: Tue, 13 Dec 2016 05:13:03 +0300 Subject: [PATCH] Travis: Use coverage only for PHP 5.6 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3d3064..d292c35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,20 +31,20 @@ install: - docker exec -it rock_cache bash -c 'composer --version && exit $?' - travis_retry docker exec -it rock_cache bash -c 'composer install --prefer-dist && exit $?' - | - if [[ $TAG = '5.5-full' ]]; then + if [[ $TAG = '5.6-full' ]]; then travis_retry docker exec -it rock_cache bash -c 'apt-get update && apt-get install -y git' travis_retry docker exec -it rock_cache bash -c 'composer require satooshi/php-coveralls:^1.0 && mkdir -p build/logs' fi script: - | - if [[ $TAG = '5.5-full' ]]; then + if [[ $TAG = '5.6-full' ]]; then PHPUNIT_FLAGS="--coverage-clover=build/logs/clover.xml" fi - travis_retry docker exec -it rock_cache bash -c 'vendor/bin/phpunit --verbose $PHPUNIT_FLAGS --exclude-group hhvm || exit 0' after_script: - | - if [[ $TAG = '5.5-full' ]]; then + if [[ $TAG = '5.6-full' ]]; then travis_retry docker exec -it rock_cache bash -c 'vendor/bin/coveralls -v && exit $?' fi