Pull merge.
[yaffs-website] / vendor / masterminds / html5 / .travis.yml
1 language: php
2
3 sudo: false
4
5 php:
6   - 5.4
7   - 5.5
8   - 5.6
9   - 7.0
10   - 7.1
11   - hhvm
12
13 matrix:
14     include:
15         - php: 5.3
16           dist: precise
17     fast_finish: true
18
19 dist: trusty
20
21 cache:
22   directories:
23     - $HOME/.composer/cache
24
25 notifications:
26   irc: "irc.freenode.net#masterminds"
27
28 before_script:
29   - composer self-update
30   - composer install
31
32 script:
33   - mkdir -p build/logs
34   - ./vendor/bin/phpunit --coverage-clover=coverage.xml
35
36 after_script:
37   - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
38   - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.6" ] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi;'
39   - php test/benchmark/run.php 10