From 77b9669bba2817773bcc3bfe9c85ba680c79876c Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Mon, 21 Mar 2016 23:12:09 +0900 Subject: [PATCH] Travis: Do not run PhpUnit through Composer We need to run PhpUnit with xDebug enabled in order to collect code coverage information. It is disabled for performance reasons, though: https://github.com/travis-ci/travis-ci/issues/5780. --- framework/core/.travis.yml | 2 +- framework/core/composer.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/core/.travis.yml b/framework/core/.travis.yml index e9bd31b8d..54179d492 100644 --- a/framework/core/.travis.yml +++ b/framework/core/.travis.yml @@ -17,7 +17,7 @@ before_script: - composer install script: - - composer test-ci + - vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml notifications: email: diff --git a/framework/core/composer.json b/framework/core/composer.json index 4fb4e4fa4..1a8b7f39e 100644 --- a/framework/core/composer.json +++ b/framework/core/composer.json @@ -72,8 +72,7 @@ } }, "scripts": { - "test": "vendor/bin/phpunit -c tests/phpunit.xml", - "test-ci": "vendor/bin/phpunit -c tests/phpunit.xml --coverage-clover=coverage.xml" + "test": "vendor/bin/phpunit -c tests/phpunit.xml" }, "extra": { "branch-alias": {