1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-27 04:44:56 +01:00
parallel/.travis.yml

31 lines
777 B
YAML
Raw Normal View History

2015-08-31 04:58:02 +02:00
language: php
php:
2016-01-23 06:32:07 +01:00
- 7.0
2016-08-19 00:36:58 +02:00
- 7.1
2017-11-25 02:21:32 +01:00
- 7.2
2016-08-19 00:36:58 +02:00
- nightly
2015-08-31 04:58:02 +02:00
sudo: false
2016-08-19 00:41:17 +02:00
matrix:
allow_failures:
- php: nightly
fast_finish: true
2015-08-31 04:58:02 +02:00
install:
2017-06-17 18:18:29 +02:00
# --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722
- composer update -n --prefer-dist --ignore-platform-reqs
2017-07-20 06:27:51 +02:00
# pthreads is now only supported on PHP 7.2+
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then
travis/install-pthreads.sh;
fi
2015-08-31 04:58:02 +02:00
script:
2015-12-05 06:54:55 +01:00
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
2017-06-17 18:18:29 +02:00
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
2015-08-31 04:58:02 +02:00
after_script:
2017-11-25 02:21:32 +01:00
- composer require satooshi/php-coveralls dev-master --ignore-platform-reqs
2015-08-31 19:44:19 +02:00
- vendor/bin/coveralls -v --exclude-no-stmt