Skip to content
Permalink
Browse files

conditionally disable xdebug

  • Loading branch information
SignpostMarv committed Feb 14, 2020
1 parent f3cf5aa commit 3dc0c65ea27d073f8dc305102bba6800bcca644e
Showing with 8 additions and 1 deletion.
  1. +8 −1 .travis.yml
@@ -7,14 +7,21 @@ matrix:
- php: 7.2
- php: 7.3.0
- php: 7.3
- php: 7.3
env:
- xdebug=yes
fast_finish: true
cache:
files:
- ./phpunit.cache
- ./.php_cs.cache
directories:
- ./vendor/
before_script:
- if [[ "$xdebug" != "yes" ]]; then phpenv config-rm xdebug.ini; fi
install:
- travis_retry composer install --no-interaction --no-suggest --prefer-source
script:
- composer run tests
- if [[ "$xdebug" = "yes" ]]; then ./vendor/bin/phpunit; else ./vendor/bin/phpunit --no-coverage; fi
- if [[ "$xdebug" = "yes" ]]; then ./vendor/bin/infection --min-msi=100; fi
- composer run static-analysis

0 comments on commit 3dc0c65

Please sign in to comment.
You can’t perform that action at this time.