瀏覽代碼

[TravisCI] Test MUnit with retries.

Let see if this help reducing the annoyance of MUnit's bug.
Hopefully I or somebody will figure out what is the actual cause...
Andy Li 11 年之前
父節點
當前提交
d490d2d089
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/RunTravis.hx

+ 2 - 2
tests/RunTravis.hx

@@ -550,9 +550,9 @@ class RunTravis {
 		haxelibInstallGit("massiveinteractive", "MassiveUnit", "master", "src", false, "munit");
 		haxelibInstallGit("massiveinteractive", "MassiveUnit", "master", "src", false, "munit");
 		changeDirectory(Path.join([getHaxelibPath("munit"), "..", "tool"]));
 		changeDirectory(Path.join([getHaxelibPath("munit"), "..", "tool"]));
 		runCommand("haxe", ["build.hxml"]);
 		runCommand("haxe", ["build.hxml"]);
-		haxelibRun(["munit", "test", "-result-exit-code", "-neko"]);
+		haxelibRun(["munit", "test", "-result-exit-code", "-neko"], true);
 		changeDirectory("../");
 		changeDirectory("../");
-		haxelibRun(["munit", "test", "-result-exit-code", "-neko"]);
+		haxelibRun(["munit", "test", "-result-exit-code", "-neko"], true);
 	}
 	}
 
 
 	static function testFlambe() {
 	static function testFlambe() {