Fixed TravisTest pipes

This commit is contained in:
Shoghi Cervantes 2014-09-07 19:47:31 +02:00
parent 344c84cfa6
commit 4f7a6a06be
2 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@ before_script:
- echo | pecl install channel://pecl.php.net/yaml-1.1.1
script:
- php tests/TravisTest.php --no-wizard
- php tests/TravisTest.php
notifications:
email: false
webhooks: http://n.tkte.ch/h/214/wsNvmG43-ncxUVRrFPwSM-r0
#webhooks: http://n.tkte.ch/h/214/wsNvmG43-ncxUVRrFPwSM-r0

View File

@ -20,9 +20,9 @@
*/
$server = proc_open("php src/pocketmine/PocketMine.php --no-wizard --disable-readline", [
0 => ["pipe", "w"],
0 => ["pipe", "r"],
1 => ["file", "php://stdout", "w"],
2 => ["pipe", "r"]
2 => ["pipe", "w"]
], $pipes);
fwrite($pipes[0], "version\nmakeserver\nstop\n\n");