From 5f9077242a299f1f1c91d3fa6f49d2f20e632653 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 7 Mar 2016 14:07:27 +1300 Subject: [PATCH] Disable xdebug on Travis runs We're not using it for code coverage, and it's slowing down both composer and phpunit builds. Recommended by Travis: https://docs.travis-ci.com/user/speeding-up-the-build/#PHP-optimisations --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4ea885d8..8ad11225 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,7 @@ matrix: before_script: - composer self-update || true - phpenv rehash + - phpenv config-rm xdebug.ini - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - "if [ \"$BEHAT_TEST\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi" - "if [ \"$BEHAT_TEST\" = \"1\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss --require silverstripe/behat-extension; fi"