Skip to content

Commit

Permalink
See if xdebug exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed May 21, 2018
1 parent 0d1e7af commit 3971d63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,14 @@ before_script: # Make PHP 7 test work. https://github.com/CMB2/CMB2/pull/885
source tests/bin/install-php-phpunit.sh
set +e
fi
- phpunit --version
- |
if [[ ! -z "$CC_TEST_REPORTER_ID" ]] ; then
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
fi
- phpunit --version
- php -i | grep xdebug

script: if [[ latest == $WP_VERSION ]]; then phpunit --coverage-clover=clover.xml; else phpunit --exclude-group cmb2-rest-api --coverage-clover=clover.xml; fi

Expand Down

0 comments on commit 3971d63

Please sign in to comment.