diff --git a/.travis.yml b/.travis.yml index ef870b338..037df2693 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ before_script: - pecl install channel://pecl.php.net/pthreads-0.0.44 script: - - phpunit --configuration phpunit.xml + - phpunit --process-isolation --configuration phpunit.xml notifications: email: false diff --git a/src/tests/ServerSuiteTest.php b/src/tests/ServerSuiteTest.php index b0ecf4507..24771504f 100644 --- a/src/tests/ServerSuiteTest.php +++ b/src/tests/ServerSuiteTest.php @@ -21,6 +21,7 @@ $server->load(); $this->assertTrue(is_integer($server->event("server.start", array($this, "hook")))); $server->init(); + exit(0); } public function hook(){