Skip to content

Commit

Permalink
don't disable xdebug if it's not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jul 13, 2018
1 parent cf14d27 commit 777fbf7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -29,10 +29,11 @@ cache:

before_install:
# determine INI file
- export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- export INI_DIR=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d
- export INI=$INI_DIR/travis.ini
# disable default memory limit
- echo memory_limit = 2G >> $INI
- if [[ $COVERALLS = "" ]]; then phpenv config-rm xdebug.ini; fi
- if [[ $COVERALLS = "" && -f $INI_DIR/xdebug.ini ]]; then phpenv config-rm xdebug.ini; fi

install:
- composer --prefer-source $DEPS update
Expand Down

0 comments on commit 777fbf7

Please sign in to comment.