1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 09:37:57 +01:00

Only install pthreads on 7.2 and 7.3

This commit is contained in:
Aaron Piotrowski 2020-02-10 12:44:50 -06:00
parent 2edfb6fcec
commit 67389fbfbb
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -19,8 +19,8 @@ env:
install: install:
- composer update -n --prefer-dist - composer update -n --prefer-dist
# ext-pthreads is 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
# ext-parallel is only supported on PHP 7.2+ # ext-parallel is only supported on PHP 7.2+