1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00
PHP-Parser/.travis.yml
2016-02-20 17:18:19 +01:00

27 lines
518 B
YAML

language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
install:
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; composer require satooshi/php-coveralls '~1.0'; fi
- composer install --prefer-source
matrix:
allow_failures:
- php: nightly
fast_finish: true
script:
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
after_success:
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then php vendor/bin/coveralls; fi