2015-05-18 14:15:12 +08:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
2015-11-02 15:11:22 +08:00
|
|
|
- 7.0
|
2017-02-04 04:53:39 +08:00
|
|
|
- 7.1
|
2017-10-05 19:57:31 +08:00
|
|
|
- 7.2
|
2015-11-02 15:11:22 +08:00
|
|
|
- hhvm
|
2015-05-18 14:15:12 +08:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
before_script:
|
2016-01-28 14:59:04 +08:00
|
|
|
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
|
2016-01-28 15:06:33 +08:00
|
|
|
- composer self-update
|
2016-01-21 05:22:13 +08:00
|
|
|
- composer install
|
2015-05-18 14:15:12 +08:00
|
|
|
|
|
|
|
script:
|
2016-06-05 07:46:29 +08:00
|
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
2015-05-18 14:15:12 +08:00
|
|
|
|
|
|
|
notifications:
|
2015-05-19 08:14:56 +08:00
|
|
|
email:
|
|
|
|
on_failure: change
|
2015-05-18 14:15:12 +08:00
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/7b9e9827a03b44a16588
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: false
|
2015-07-05 19:52:51 +08:00
|
|
|
|
2016-03-03 18:50:09 +08:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
|
2015-07-05 19:52:51 +08:00
|
|
|
sudo: false
|