mailgun-php/.travis.yml
2016-10-31 16:23:38 -05:00

21 lines
752 B
YAML

language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- travis_retry composer self-update
install:
- travis_retry composer install
- travis_retry composer require --dev 'phpunit/php-code-coverage=^2.2.4'
script:
- 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")'
notifications:
slack:
rooms:
secure: Xa/LYWGRDOt1Gjw10YTgYmVriSt/MSDOuzqoqQ8OWekJp05C2oRTor8dztEATTM4HQSLrwTa8CTnkFyD8+Z4fbnuvQ0dJ4j5CJYs5AjyirEWwblqS0PIATEEGKffDocsMh4VyMEPSwWXZY319bvG79mUq0E57VmT3y2ROMUuuec=