mailgun-php/.travis.yml

21 lines
752 B
YAML
Raw Normal View History

2013-07-26 02:50:54 +04:00
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=