php-parser/.travis.yml

36 lines
752 B
YAML
Raw Normal View History

2012-03-17 13:18:16 +01:00
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
2017-01-19 22:55:52 +01:00
matrix:
include:
- php: 5.6
- php: 7.0
- php: 7.1
- php: nightly
- php: hhvm-3.15
sudo: required
dist: trusty
group: edge
2014-01-20 12:20:54 +01:00
2016-02-20 17:16:46 +01:00
install:
2016-02-20 17:20:16 +01:00
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then composer require satooshi/php-coveralls '~1.0'; fi
- composer install --prefer-dist
2015-09-16 15:00:44 +02:00
2014-01-20 12:20:54 +01:00
matrix:
allow_failures:
- php: nightly
2014-01-20 12:20:54 +01:00
fast_finish: true
2016-02-20 17:16:46 +01:00
script:
2016-04-07 07:39:20 +02:00
- if [ $TRAVIS_PHP_VERSION = '5.6' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then test_old/run-php-src.sh; fi
2016-02-20 17:16:46 +01:00
after_success:
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then php vendor/bin/coveralls; fi