2015-08-31 04:58:02 +02:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
2016-01-23 06:32:07 +01:00
|
|
|
- 7.0
|
2016-08-19 00:36:58 +02:00
|
|
|
- 7.1
|
|
|
|
- nightly
|
2015-08-31 04:58:02 +02:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2016-08-19 00:41:17 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2016-08-23 23:53:04 +02:00
|
|
|
- php: 7.1
|
2016-08-19 00:41:17 +02:00
|
|
|
- php: nightly
|
|
|
|
fast_finish: true
|
|
|
|
|
2015-08-31 04:58:02 +02:00
|
|
|
install:
|
|
|
|
- git clone https://github.com/krakjoe/pthreads.git;
|
|
|
|
pushd pthreads;
|
2016-01-23 06:32:07 +01:00
|
|
|
git checkout master;
|
2015-08-31 04:58:02 +02:00
|
|
|
phpize;
|
|
|
|
./configure;
|
|
|
|
make;
|
|
|
|
make install;
|
|
|
|
popd;
|
2015-08-31 19:44:19 +02:00
|
|
|
echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"
|
2015-08-31 04:58:02 +02:00
|
|
|
- composer self-update
|
|
|
|
- composer install --no-interaction --prefer-source
|
|
|
|
|
|
|
|
script:
|
2015-12-05 06:54:55 +01:00
|
|
|
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
2015-08-31 04:58:02 +02:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- composer require satooshi/php-coveralls dev-master
|
2015-08-31 19:44:19 +02:00
|
|
|
- vendor/bin/coveralls -v --exclude-no-stmt
|