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 2020-02-10 17:30:50 -06:00
parent 0597620f56
commit fc7dafe7a5
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -4,14 +4,13 @@ php:
- 7.1 - 7.1
- 7.2 - 7.2
- 7.3 - 7.3
- 7.4snapshot - 7.4
- 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
@ -19,15 +18,21 @@ env:
- AMP_DEBUG=true - AMP_DEBUG=true
before_install: before_install:
- phpenv config-rm xdebug.ini || echo "No xdebug config." # xdebug causes hangs on PHP 7.1 and 7.2
- if [ "$TRAVIS_PHP_VERSION" == "7.1" ] || [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then
phpenv config-rm xdebug.ini || echo "No xdebug config.";
fi
install: install:
- composer update -n --prefer-dist - composer update -n --prefer-dist
# pthreads is now only supported on PHP 7.2+ # ext-pthreads is only supported on PHP 7.2 and 7.3
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then - if [ "$TRAVIS_PHP_VERSION" == "7.2" ] || [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then
travis/install-pthreads.sh; travis/install-pthreads.sh;
fi fi
- travis/install-parallel.sh; # ext-parallel is only supported on PHP 7.2+
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ]; 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