#Travis CI

language: php

dist: trusty
sudo: false

php:
 - 7.0

branches:
 - master

before_script:
 - git clone --recursive https://github.com/pmmp/PocketMine-MP.git
 - pecl install channel://pecl.php.net/pthreads-3.1.6
 - echo | pecl install channel://pecl.php.net/yaml-2.0.2
 - cd PocketMine-MP
 - mkdir plugins
 - cd plugins
 - wget -O DevTools.phar https://poggit.pmmp.io/r/10317/PocketMine-DevTools.phar
 - cd /home/travis/build/robske110/SignServerStats/
 - cp -rf Travis.php PocketMine-MP/
 - cd PocketMine-MP

script:
 - php Travis.php
 
notifications:
 email: false
#Travis CI

language: php

dist: trusty
sudo: false

php:
 - 7.0

branches:
 - master

before_script:
 - git clone --recursive https://github.com/pmmp/PocketMine-MP.git
 - git checkout php/7.0
 - pecl install channel://pecl.php.net/pthreads-3.1.6
 - echo | pecl install channel://pecl.php.net/yaml-2.0.2
 - cd PocketMine-MP
 - mkdir plugins
 - cd plugins
 - wget -O DevTools.phar https://poggit.pmmp.io/r/10317/PocketMine-DevTools.phar
 - cd /home/travis/build/robske110/SignServerStats/
 - cp -rf Travis.php PocketMine-MP/
 - cd PocketMine-MP

script:
 - php Travis.php
 
notifications:
 email: false
Use 7.0 branch for now
Travis: Use 7.0 branch for now

(Waiting for PECL extensions to be updated to 7.2)
