Require PHP 7.2, bump PocketMine-MP version to 1.7dev

This commit is contained in:
Dylan K. Taylor
2017-08-31 20:27:05 +01:00
parent b9c4a65307
commit ddfe828445
5 changed files with 19 additions and 11 deletions

View File

@ -1,12 +1,20 @@
language: php
php:
- 7.0
- 7.2
before_script:
- pecl install channel://pecl.php.net/pthreads-3.1.6
# - pecl install channel://pecl.php.net/pthreads-3.1.6
- pecl install channel://pecl.php.net/weakref-0.3.3
- echo | pecl install channel://pecl.php.net/yaml-2.0.0
- git clone https://github.com/krakjoe/pthreads.git --depth=1
- cd pthreads
- phpize
- ./configure
- make
- make install
- cd ..
- echo "extension=pthreads.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
script:
- ./tests/travis.sh