From 6aecbd5be4c446b63da9f20ef0ec03951f06e8dc Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sun, 6 Jan 2019 10:37:07 +0100 Subject: [PATCH] Updated composer scripts to run tests (#519) --- .travis.yml | 2 +- composer.json | 6 ++---- phpunit.xml.dist | 16 +--------------- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index fe6a3aa..21bcc89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ branches: - /^patch-.*$/ env: - - TEST_COMMAND="composer test-all" + - TEST_COMMAND="composer test" matrix: fast_finish: true diff --git a/composer.json b/composer.json index 416ca67..9babd7a 100644 --- a/composer.json +++ b/composer.json @@ -37,10 +37,8 @@ } ], "scripts": { - "test": "vendor/bin/phpunit --testsuite unit && vendor/bin/phpunit --testsuite functional", - "test-all": "vendor/bin/phpunit --testsuite all", - "test-integration": "vendor/bin/phpunit --testsuite integration", - "test-coverage": "vendor/bin/phpunit --testsuite all --coverage-text --coverage-clover=build/coverage.xml" + "test": "vendor/bin/phpunit", + "test-coverage": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml" }, "extra": { "branch-alias": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ef59239..f8802a3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,23 +10,9 @@ testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader"> - + tests - - - tests - tests/Integration - test/Functional - - - - tests/Integration - - - - tests/Functional -