Browse Source

Merge pull request #10861 from WyriHaximus/patch-2

Test against PHP nightly
Mark Story 8 years ago
parent
commit
02c51aa53a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .travis.yml

+ 5 - 1
.travis.yml

@@ -4,6 +4,7 @@ php:
   - 7.0
   - 5.6
   - 7.1
+  - nightly
 
 dist: trusty
 
@@ -31,6 +32,9 @@ cache:
 
 matrix:
   fast_finish: true
+  
+  allow_failures:
+    - php: nightly
 
   include:
     - php: 7.0
@@ -43,7 +47,7 @@ matrix:
       env: PHPSTAN=1 DEFAULT=0
 
 before_install:
-  - if [ $TRAVIS_PHP_VERSION != 7.0 ]; then phpenv config-rm xdebug.ini; fi
+  - if [ $TRAVIS_PHP_VERSION != 7.0 && $TRAVIS_PHP_VERSION != 'nightly' ]; then phpenv config-rm xdebug.ini; fi
 
   - if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test;'; fi
   - if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test2;'; fi