mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 19:13:37 +08:00
36 lines
592 B
YAML
36 lines
592 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- hhvm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
fast_finish: true
|
|
|
|
before_script:
|
|
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
|
|
- composer self-update
|
|
- composer install
|
|
|
|
script:
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
|
|
|
notifications:
|
|
email:
|
|
on_failure: change
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/7b9e9827a03b44a16588
|
|
on_success: always
|
|
on_failure: always
|
|
on_start: false
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
|
|
sudo: false
|