Skip to content

Commit

Permalink
Travis: Remove Xdebug for a huge performance increase, but not from n…
Browse files Browse the repository at this point in the history
…ightly or hhvm
  • Loading branch information
ocean90 committed Mar 15, 2017
1 parent 9b42b7b commit f793941
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ install:
- if [ ! -e "$DEV_LIB_PATH" ]; then git clone https://github.com/xwp/wp-dev-lib.git $DEV_LIB_PATH; fi
- source $DEV_LIB_PATH/travis.install.sh

before_script:
- |
# Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
stable='^[0-9\.]+$'
if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
phpenv config-rm xdebug.ini
fi
script:
- source $DEV_LIB_PATH/travis.script.sh

Expand Down

0 comments on commit f793941

Please sign in to comment.