Skip to content

Commit a046af6

Browse files
committed
Adds travis config
1 parent 4258c93 commit a046af6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
language: php
2+
php:
3+
- 5.5
4+
- 5.6
5+
- 7.0
6+
- 7.1
7+
- hhvm
8+
- nightly
9+
10+
matrix:
11+
allow_failures:
12+
- php:
13+
- hhvm
14+
- nightly
15+
16+
cache:
17+
directories:
18+
- $HOME/.composer/cache
19+
20+
script:
21+
- vendor/bin/phpunit --coverage-clover=coverage.clover -v
22+
- composer update --no-interaction --prefer-source
23+
- vendor/bin/phpunit -v
24+
25+
before_script:
26+
- composer install --no-interaction
27+
28+
after_script:
29+
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
30+
31+
notifications:
32+
irc: "irc.freenode.org#phpdocumentor"
33+
email:
34+
- me@mikevanriel.com
35+
- ashnazg@php.net

0 commit comments

Comments
 (0)