mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-19 18:04:07 +00:00
Travis: Build DevTools on the spot
This commit is contained in:
parent
2488d6e957
commit
496061ba54
@ -5,12 +5,14 @@ php:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir plugins
|
- mkdir plugins
|
||||||
- curl -o DevTools.zip "https://jenkins.pmmp.io/job/PocketMine-MP%20DevTools/lastSuccessfulBuild/artifact/*zip*/artifacts.zip"
|
# - curl -o DevTools.zip "https://jenkins.pmmp.io/job/PocketMine-MP%20DevTools/lastSuccessfulBuild/artifact/*zip*/artifacts.zip"
|
||||||
- unzip DevTools.zip
|
# - unzip DevTools.zip
|
||||||
- mv archive/*.phar plugins
|
# - mv *.phar plugins
|
||||||
- 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.2
|
- pecl install channel://pecl.php.net/weakref-0.3.2
|
||||||
- echo | pecl install channel://pecl.php.net/yaml-2.0.0
|
- 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:
|
script:
|
||||||
- ./tests/lint.sh && ./tests/run.sh
|
- ./tests/lint.sh && ./tests/run.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user