From 64eadb0472ead685bb440b774a7ffb7bbe87c890 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Tue, 26 Jun 2018 14:35:04 +0200 Subject: [PATCH] Only measure code coverage on Unit tests. --- .travis.yml | 1 - composer.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27b527c1..f8df3bc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,7 +54,6 @@ matrix: - env: STABILITY="dev" before_install: - - if [[ $COVERAGE == true ]]; then echo "max_execution_time = 600" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi; - if ! [ -z "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi; diff --git a/composer.json b/composer.json index f8cb3ad9..57e29adc 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,7 @@ }, "scripts": { "test": "vendor/bin/simple-phpunit", - "test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml" + "test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml Tests/Unit" }, "extra": { "branch-alias": {