-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
35 lines (29 loc) · 867 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
before_script:
- travis_retry composer install --dev --no-interaction --prefer-source
- mkdir -p build/logs
script:
- phpunit --coverage-text --coverage-clover build/logs/clover.xml
- bash -c 'if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
- bash -c 'if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
notifications:
irc: "irc.freenode.org#ouarz"
email:
recipients:
on_success: change
on_failure: change
after_script:
- php vendor/bin/coveralls -v
matrix:
allow_failures:
- php: nightly
- php: hhvm