1language: php
2php:
3  - 5.5
4  - 5.6
5  - 7.0
6  - 7.1
7  - hhvm
8  - nightly
9
10matrix:
11  allow_failures:
12    - php:
13      - hhvm
14      - nightly
15
16cache:
17  directories:
18    - $HOME/.composer/cache
19
20script:
21  - vendor/bin/phpunit --coverage-clover=coverage.clover -v
22  - composer update --no-interaction --prefer-source
23  - vendor/bin/phpunit -v
24
25before_script:
26 - composer install --no-interaction
27
28after_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
31notifications:
32  irc: "irc.freenode.org#phpdocumentor"
33  email:
34    - me@mikevanriel.com
35    - ashnazg@php.net
36