2017-03-14 12:50:54 +00:00
|
|
|
composer require phpunit/phpunit:5.6
|
|
|
|
composer install
|
|
|
|
|
2017-01-25 21:28:57 +00:00
|
|
|
if [[ ${TRAVIS_BRANCH} == 'master' ]] && [[ ${TRAVIS_EVENT_TYPE} != 'pull_request' ]] && [[ ${TRAVIS_PHP_VERSION} == ${PHP_LATEST_STABLE} ]]; then
|
2017-01-16 18:48:59 +00:00
|
|
|
phpunit -c phpunit.xml.dist --coverage-clover ./tmp/clover.xml
|
|
|
|
else
|
|
|
|
phpunit -c phpunit.xml.dist
|
|
|
|
fi
|