Skip to content

Commit 8a03859

Browse files
committed
Allow failures for PHP nightly.
Currently PHPUnit is failing on PHP nightly and therefore the build is failing. This change will prevent complete builds failing for failures which occur only in PHP nightly.
1 parent 8120537 commit 8a03859

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ php:
1212
- hhvm
1313
- nightly
1414

15+
matrix:
16+
fast_finish: true
17+
18+
allow_failures:
19+
# Allow failures for unstable builds.
20+
- php: nightly
21+
1522
before_script:
1623
- if [[ ${TRAVIS_PHP_VERSION:0:1} != "7" && $TRAVIS_PHP_VERSION != "nightly" && $TRAVIS_PHP_VERSION != "hhvm" ]]; then phpenv config-add php5-testingConfig.ini; fi
1724
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" || $TRAVIS_PHP_VERSION == "nightly" ]]; then phpenv config-add php7-testingConfig.ini; fi

0 commit comments

Comments
 (0)