Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 3877049

Browse files
committed
Check if xdebug is enabled before attempting to disable it.
1 parent 085fa1a commit 3877049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ matrix:
5656
- php: 7.2
5757

5858
before_install:
59-
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
59+
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6060
- travis_retry composer self-update
6161

6262
install:

0 commit comments

Comments
 (0)