mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +00:00
By default it starts 30 workers on Travis because there are 32 logical cores available. This is ridiculously excessive and pollutes the log with debug spam.
25 lines
511 B
YAML
25 lines
511 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.2
|
|
|
|
before_script:
|
|
# - pecl install channel://pecl.php.net/pthreads-3.1.6
|
|
- echo | pecl install channel://pecl.php.net/yaml-2.0.2
|
|
- git clone https://github.com/krakjoe/pthreads.git
|
|
- cd pthreads
|
|
- git checkout d32079fb4a88e6e008104d36dbbf0c2dd7deb403
|
|
- phpize
|
|
- ./configure
|
|
- make
|
|
- make install
|
|
- cd ..
|
|
- echo "extension=pthreads.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
|
- composer install
|
|
|
|
script:
|
|
- ./tests/travis.sh -t4
|
|
|
|
notifications:
|
|
email: false
|