2012-03-17 13:18:16 +01:00
|
|
|
language: php
|
|
|
|
|
2015-09-14 15:26:42 +02:00
|
|
|
sudo: false
|
|
|
|
|
2012-03-17 13:18:16 +01:00
|
|
|
php:
|
2014-01-20 12:20:54 +01:00
|
|
|
- 5.4
|
|
|
|
- 5.5
|
2014-08-28 17:44:47 +02:00
|
|
|
- 5.6
|
2015-02-26 15:25:34 +01:00
|
|
|
- 7.0
|
2015-09-14 15:26:42 +02:00
|
|
|
- nightly
|
2014-01-20 12:20:54 +01:00
|
|
|
- hhvm
|
|
|
|
|
2016-02-20 17:16:46 +01:00
|
|
|
install:
|
|
|
|
if [ $TRAVIS_PHP_VERSION = '5.6' ]; composer require satooshi/php-coveralls '~1.0'; fi
|
|
|
|
composer install --prefer-source
|
2015-09-16 15:00:44 +02:00
|
|
|
|
2014-01-20 12:20:54 +01:00
|
|
|
matrix:
|
2015-09-14 15:26:42 +02:00
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
2014-01-20 12:20:54 +01:00
|
|
|
fast_finish: true
|
2015-09-20 15:17:42 +02:00
|
|
|
|
2016-02-20 17:16:46 +01:00
|
|
|
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
|