mirror of
https://github.com/danog/parallel.git
synced 2024-11-26 20:34:40 +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
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.0
|
|
||||||
- 7.1
|
- 7.1
|
||||||
- 7.2
|
- 7.2
|
||||||
- 7.3
|
- 7.3
|
||||||
|
- 7.4snapshot
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
- php: 7.4snapshot
|
||||||
- php: nightly
|
- php: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
@ -23,13 +24,10 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- composer update -n --prefer-dist
|
- composer update -n --prefer-dist
|
||||||
# pthreads is now only supported on PHP 7.2+
|
# 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;
|
travis/install-pthreads.sh;
|
||||||
fi
|
fi
|
||||||
# parallel is only supported on PHP 7.1+
|
- travis/install-parallel.sh;
|
||||||
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
|
|
||||||
travis/install-parallel.sh;
|
|
||||||
fi
|
|
||||||
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.2/coveralls.phar
|
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.2/coveralls.phar
|
||||||
- chmod +x coveralls.phar
|
- chmod +x coveralls.phar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user