mailgun-php/.travis.yml

20 lines
552 B
YAML
Raw Normal View History

2013-07-26 02:50:54 +04:00
language: php
2016-10-27 09:34:27 +03:00
2013-07-26 02:50:54 +04:00
php:
- 5.5
2014-07-15 09:17:27 +04:00
- 5.6
- 7.0
2014-07-15 09:17:27 +04:00
- hhvm
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install
2016-10-27 09:34:27 +03:00
- travis_retry composer require --dev 'phpunit/php-code-coverage=^2.2.4'
script:
2016-10-27 09:34:27 +03:00
- phpunit -c phpunit.xml.dist --testsuite unit --coverage-text
- phpunit -c phpunit.xml.dist --testsuite functional --coverage-text
- '[[ "${TRAVIS_PULL_REQUEST}" == "false" ]] && ( phpunit -c phpunit.xml.dist --testsuite integration --coverage-text ) || ( echo "Testing PR - No integration tests available")'