forked from sumocoders/FrameworkErrorBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (23 loc) · 774 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
language: php
matrix:
include:
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7
- php: nightly
- php: hhvm
- php: hhvm-nightly
allow_failures:
- php: 7
- php: nightly
- php: hhvm
- php: hhvm-nightly
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.clover
after_success:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [[ "$TRAVIS_PHP_VERSION" != "7" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [[ "$TRAVIS_PHP_VERSION" != "7" ]]; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi