mirror of
https://github.com/danog/parallel.git
synced 2024-11-26 20:34:40 +01:00
Use pthreads only on 7.2
This commit is contained in:
parent
f716981c95
commit
2aa5692fdb
@ -16,7 +16,10 @@ install:
|
||||
# --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722
|
||||
- composer update -n --prefer-dist --ignore-platform-reqs
|
||||
- composer require satooshi/php-coveralls dev-master --ignore-platform-reqs
|
||||
- travis/install-pthreads.sh
|
||||
# pthreads is now only supported on PHP 7.2+
|
||||
- if [ "$TRAVIS_PHP_VERSION" != "7.0" ] && [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then
|
||||
travis/install-pthreads.sh;
|
||||
fi
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
||||
|
Loading…
Reference in New Issue
Block a user