php-parser/.travis.yml

32 lines
691 B
YAML
Raw Normal View History

2012-03-17 13:18:16 +01:00
language: php
2018-12-26 07:08:01 +01:00
dist: xenial
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 7.0
- 7.1
2017-10-29 12:35:23 +01:00
- 7.2
2018-10-28 21:36:14 +01:00
- 7.3
2019-02-16 21:52:44 +01:00
- 7.4snapshot
- nightly
2014-01-20 12:20:54 +01:00
2016-02-20 17:16:46 +01:00
install:
2017-04-24 22:10:25 +02:00
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls '~1.0'; fi
- composer install --prefer-dist --ignore-platform-reqs
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:
2017-04-24 22:10:25 +02:00
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.2' ]; then test_old/run-php-src.sh; fi
2016-02-20 17:16:46 +01:00
after_success:
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi