1
0
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:
Aaron Piotrowski 2017-07-19 23:27:51 -05:00
parent f716981c95
commit 2aa5692fdb
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

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