mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Add Slack notifications for Travis builds (#208)
This commit is contained in:
parent
58430e4537
commit
0d2916d47f
29
.travis.yml
29
.travis.yml
@ -1,19 +1,20 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- hhvm
|
||||
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- hhvm
|
||||
before_install:
|
||||
- travis_retry composer self-update
|
||||
|
||||
- travis_retry composer self-update
|
||||
install:
|
||||
- travis_retry composer install
|
||||
- travis_retry composer require --dev 'phpunit/php-code-coverage=^2.2.4'
|
||||
|
||||
- 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")'
|
||||
- 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=
|
||||
|
Loading…
x
Reference in New Issue
Block a user