mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1761 from open-sausages/pulls/4.0/fix-coverage-test
BUG Fix PHPUNIT_COVERAGE_TEST by moving to php 5 build
This commit is contained in:
commit
b05b3bb8c7
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user