mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Update travis configuration to use composer phpunit
Made PHP 5.6 an allowed failure
This commit is contained in:
parent
36bb411277
commit
b5214d25a1
@ -26,6 +26,9 @@ matrix:
|
||||
env: DB=MYSQL CORE_RELEASE=3.1
|
||||
- php: 5.4
|
||||
env: DB=MYSQL CORE_RELEASE=3.1 BEHAT_TEST=1
|
||||
allow_failures:
|
||||
- php: 5.6
|
||||
env: DB=MYSQL CORE_RELEASE=3.1
|
||||
|
||||
before_script:
|
||||
- composer self-update
|
||||
@ -38,7 +41,7 @@ before_script:
|
||||
- php ~/travis-support/travis_setup_php54_webserver.php --if-env BEHAT_TEST
|
||||
|
||||
script:
|
||||
- "if [ \"$BEHAT_TEST\" = \"\" ]; then phpunit cms/tests; fi"
|
||||
- "if [ \"$BEHAT_TEST\" = \"\" ]; then vendor/bin/phpunit cms/tests; fi"
|
||||
- "if [ \"$BEHAT_TEST\" = \"1\" ]; then vendor/bin/behat @cms; fi"
|
||||
|
||||
after_failure:
|
||||
|
Loading…
Reference in New Issue
Block a user