-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
40 lines (33 loc) · 936 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#Travis CI
language: php
dist: trusty
sudo: false
php:
- 7.2
branches:
- master
before_script:
#- pecl install channel://pecl.php.net/pthreads-3.1.6
- 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
- echo | pecl install channel://pecl.php.net/yaml-2.0.2
- git clone --recursive --branch forms-api https://github.com/pmmp/PocketMine-MP.git --depth=1
- cd PocketMine-MP
- composer install
- mkdir plugins
- cd plugins
- wget -O DevTools.phar https://jenkins.pmmp.io/job/PocketMine-MP/Alpha/artifact/DevTools.phar
- cd /home/travis/build/robske110/ServerSelector/
- git clone https://github.com/robske110/SignServerStats.git --depth=1
- cp -rf Travis.php PocketMine-MP/
- cd PocketMine-MP
script:
- php Travis.php
notifications:
email: false