mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Travis: Build DevTools on the spot
This commit is contained in:
parent
2488d6e957
commit
496061ba54
@ -5,12 +5,14 @@ php:
|
||||
|
||||
before_script:
|
||||
- mkdir plugins
|
||||
- curl -o DevTools.zip "https://jenkins.pmmp.io/job/PocketMine-MP%20DevTools/lastSuccessfulBuild/artifact/*zip*/artifacts.zip"
|
||||
- unzip DevTools.zip
|
||||
- mv archive/*.phar plugins
|
||||
# - curl -o DevTools.zip "https://jenkins.pmmp.io/job/PocketMine-MP%20DevTools/lastSuccessfulBuild/artifact/*zip*/artifacts.zip"
|
||||
# - unzip DevTools.zip
|
||||
# - mv *.phar plugins
|
||||
- pecl install channel://pecl.php.net/pthreads-3.1.6
|
||||
- pecl install channel://pecl.php.net/weakref-0.3.2
|
||||
- echo | pecl install channel://pecl.php.net/yaml-2.0.0
|
||||
- git clone https://github.com/pmmp/PocketMine-DevTools.git -b api3
|
||||
- php PocketMine-DevTools/src/DevTools/ConsoleScript.php --make "./PocketMine-DevTools" --relative "./PocketMine-DevTools" --out "./plugins/DevTools.phar"
|
||||
|
||||
script:
|
||||
- ./tests/lint.sh && ./tests/run.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user