mirror of
https://github.com/danog/parallel.git
synced 2024-11-30 04:39:01 +01:00
Update travis build
This commit is contained in:
parent
17b6b6272f
commit
7602064f6c
10
.travis.yml
10
.travis.yml
@ -1,16 +1,17 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
- 7.4snapshot
|
||||
- nightly
|
||||
|
||||
sudo: false
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: 7.4snapshot
|
||||
- php: nightly
|
||||
fast_finish: true
|
||||
|
||||
@ -23,13 +24,10 @@ before_install:
|
||||
install:
|
||||
- composer update -n --prefer-dist
|
||||
# pthreads is now only supported on PHP 7.2+
|
||||
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then
|
||||
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then
|
||||
travis/install-pthreads.sh;
|
||||
fi
|
||||
# parallel is only supported on PHP 7.1+
|
||||
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
|
||||
travis/install-parallel.sh;
|
||||
fi
|
||||
- travis/install-parallel.sh;
|
||||
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.2/coveralls.phar
|
||||
- chmod +x coveralls.phar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user