1
0
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:
Aaron Piotrowski 2019-08-27 18:15:06 -05:00
parent 17b6b6272f
commit 7602064f6c
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -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