mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Fixed TravisTest pipes
This commit is contained in:
parent
344c84cfa6
commit
4f7a6a06be
@ -14,8 +14,8 @@ before_script:
|
|||||||
- echo | pecl install channel://pecl.php.net/yaml-1.1.1
|
- echo | pecl install channel://pecl.php.net/yaml-1.1.1
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- php tests/TravisTest.php --no-wizard
|
- php tests/TravisTest.php
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
webhooks: http://n.tkte.ch/h/214/wsNvmG43-ncxUVRrFPwSM-r0
|
#webhooks: http://n.tkte.ch/h/214/wsNvmG43-ncxUVRrFPwSM-r0
|
@ -20,9 +20,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$server = proc_open("php src/pocketmine/PocketMine.php --no-wizard --disable-readline", [
|
$server = proc_open("php src/pocketmine/PocketMine.php --no-wizard --disable-readline", [
|
||||||
0 => ["pipe", "w"],
|
0 => ["pipe", "r"],
|
||||||
1 => ["file", "php://stdout", "w"],
|
1 => ["file", "php://stdout", "w"],
|
||||||
2 => ["pipe", "r"]
|
2 => ["pipe", "w"]
|
||||||
], $pipes);
|
], $pipes);
|
||||||
|
|
||||||
fwrite($pipes[0], "version\nmakeserver\nstop\n\n");
|
fwrite($pipes[0], "version\nmakeserver\nstop\n\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user