From 1e33bc554588fa41d76f64cf6918f123449d45f7 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sat, 8 Apr 2017 10:43:04 +0200 Subject: [PATCH] Always run "composer test-all" (#337) This PR will also remove the "IS_PR"-check --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27bea2a..4d19e80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,19 +13,20 @@ php: - 7.1 - hhvm +env: + - TEST_COMMAND="composer test-all" + matrix: fast_finish: true include: - php: 5.5 - env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" PREFER_COVERAGE=true + env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true install: - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction before_script: - - TEST_COMMAND="composer test-all" - - if ! [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test"; fi - - if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi + - if [[ "COVERAGE" = true ]]; then TEST_COMMAND="composer test-coverage"; fi script: - echo $TEST_COMMAND