mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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
|
env: DB=MYSQL CORE_RELEASE=3.1
|
||||||
- php: 5.4
|
- php: 5.4
|
||||||
env: DB=MYSQL CORE_RELEASE=3.1 BEHAT_TEST=1
|
env: DB=MYSQL CORE_RELEASE=3.1 BEHAT_TEST=1
|
||||||
|
allow_failures:
|
||||||
|
- php: 5.6
|
||||||
|
env: DB=MYSQL CORE_RELEASE=3.1
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- composer self-update
|
- composer self-update
|
||||||
@ -38,7 +41,7 @@ before_script:
|
|||||||
- php ~/travis-support/travis_setup_php54_webserver.php --if-env BEHAT_TEST
|
- php ~/travis-support/travis_setup_php54_webserver.php --if-env BEHAT_TEST
|
||||||
|
|
||||||
script:
|
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"
|
- "if [ \"$BEHAT_TEST\" = \"1\" ]; then vendor/bin/behat @cms; fi"
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
|
Loading…
Reference in New Issue
Block a user