1
0
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:
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 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