Browse Source

PHP 7.3 does not have xdebug yet.

ADmad 7 years ago
parent
commit
8b44807cb1
1 changed files with 5 additions and 5 deletions
  1. 5 5
      .travis.yml

+ 5 - 5
.travis.yml

@@ -7,16 +7,16 @@ php:
   - 7.2
   - 7.3.0RC1
 
-sudo: required
-
-dist: xenial
-
 addons:
   apt:
     packages:
       # See: https://github.com/travis-ci/travis-ci/issues/9717
       - libzip4
 
+sudo: required
+
+dist: xenial
+
 env:
   matrix:
     - DB=mysql db_dsn='mysql://root@127.0.0.1/cakephp_test'
@@ -53,7 +53,7 @@ matrix:
 
 before_install:
   - echo cakephp version && tail -1 VERSION.txt
-  - phpenv config-rm xdebug.ini
+  - if [[ ${TRAVIS_PHP_VERSION} != "7.3.0RC1" ]]; 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