From bd409bfd3092189c5133b059f04074891d8726c1 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Mon, 13 Mar 2017 15:24:26 +1300 Subject: [PATCH] BUG Fix PHPUNIT_COVERAGE_TEST by moving to php 5 build --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 38268f20..6eec5091 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,8 @@ env: matrix: include: - - php: 5.5 - env: DB=MYSQL PHPUNIT_TEST=1 + - php: 5.6 + env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1 - php: 5.5 env: DB=PGSQL PHPUNIT_TEST=1 - php: 5.5 @@ -32,7 +32,7 @@ matrix: - php: 7.0 env: DB=MYSQL PHPUNIT_TEST=1 - php: 7.1 - env: DB=MYSQL PDO=1 PHPUNIT_COVERAGE_TEST=1 + env: DB=MYSQL PDO=1 PHPUNIT_TEST=1 before_script: - composer self-update || true @@ -58,7 +58,7 @@ script: - "if [ \"$NPM_TEST\" = \"1\" ]; then git diff-files --quiet -w; fi" - "if [ \"$NPM_TEST\" = \"1\" ]; then git diff -w --no-color; fi" - "if [ \"$NPM_TEST\" = \"1\" ]; then (nvm use $TRAVIS_NODE_VERSION && npm run lint); fi" - - "if [ \"$PHPUNIT_COVERAGE_TEST\" = \"1\" ]; then phpdbg -qrr vendor/bin/phpunit tests flush=1 --coverage-clover=coverage.xml; fi" + - "if [ \"$PHPUNIT_COVERAGE_TEST\" = \"1\" ]; then vendor/bin/phpunit tests flush=1 --coverage-clover=coverage.xml; fi" - "if [ \"$PHPUNIT_COVERAGE_TEST\" = \"1\" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi" - "if [ \"$PHPCS_TEST\" = \"1\" ]; then composer run-script lint; fi"