Skip to content

Commit 23fffaa

Browse files
author
Jiri Travnicek
committed
.travis.yml added
1 parent 155eb3a commit 23fffaa

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- hhvm
9+
10+
# This triggers builds to run on the new TravisCI infrastructure.
11+
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
12+
sudo: false
13+
14+
matrix:
15+
allow_failures:
16+
- php: 5.4
17+
include:
18+
- php: 5.4
19+
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
20+
21+
before_script:
22+
- travis_retry composer self-update
23+
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
24+
- composer dump-autoload -o
25+
26+
script:
27+
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover --verbose
28+
29+
after_script:
30+
- if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi

0 commit comments

Comments
 (0)