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

39 lines
744 B
YAML
Raw Normal View History

2015-08-31 04:58:02 +02:00
language: php
php:
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:
2018-07-25 22:46:40 +02:00
# allow_failures:
# - php: nightly
2016-08-19 00:41:17 +02:00
fast_finish: true
2017-12-04 18:49:05 +01:00
env:
- AMP_DEBUG=true
before_install:
- phpenv config-rm xdebug.ini || echo "No xdebug config."
2015-08-31 04:58:02 +02:00
install:
2018-07-25 22:46:40 +02:00
- travis/install-async.sh
2017-12-02 13:54:56 +01:00
- composer update -n --prefer-dist
2018-07-26 19:58:54 +02:00
# pthreads currently doesn't compile cleanly
# - travis/install-pthreads.sh
2017-12-04 18:49:05 +01:00
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.2/coveralls.phar
2017-12-02 13:54:56 +01:00
- chmod +x coveralls.phar
2015-08-31 04:58:02 +02:00
script:
2018-07-25 22:46:40 +02:00
- vendor/bin/phpunit
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-12-04 18:49:05 +01:00
- ./coveralls.phar -v
2018-07-26 20:12:30 +02:00
cache:
directories:
- $HOME/.composer/cache
- $HOME/.php-cs-fixer
- $HOME/.local