From 4f7a6a06be55944f522ab3553eba93525b38b7c2 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 7 Sep 2014 19:47:31 +0200 Subject: [PATCH] Fixed TravisTest pipes --- .travis.yml | 4 ++-- tests/TravisTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e89cdfd00..831707633 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file + #webhooks: http://n.tkte.ch/h/214/wsNvmG43-ncxUVRrFPwSM-r0 \ No newline at end of file diff --git a/tests/TravisTest.php b/tests/TravisTest.php index c63c99a3e..338635a9b 100644 --- a/tests/TravisTest.php +++ b/tests/TravisTest.php @@ -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");