Browse Source

Re-enable Flambe tests.

Bruno Garcia 11 years ago
parent
commit
3934365dbd
2 changed files with 4 additions and 5 deletions
  1. 1 0
      .travis.yml
  2. 3 5
      tests/RunTravis.hx

+ 1 - 0
.travis.yml

@@ -18,6 +18,7 @@ env:
     - TARGET=cs
     - TARGET=flash8
     - TARGET=polygonal-ds
+    - TARGET=flambe
 
 matrix:
   fast_finish: true

+ 3 - 5
tests/RunTravis.hx

@@ -199,11 +199,9 @@ class RunTravis {
 				changeDirectory(getHaxelibPath("polygonal-ds"));
 				runCommand("haxe", ["-cp", "src", "-cp", "test", "-lib", "polygonal-core", "-lib", "polygonal-printf", "-main", "UnitTest", "-js", "unit.js"]);
 				runCommand("node", ["unit.js"]);
-			//case "flambe":
-				//runCommand("haxelib", ["git", "flambe", "https://github.com/aduros/flambe", "master", "src"]);
-				//runCommand("haxelib", ["git", "flambe-server", "https://github.com/aduros/flambe-server", "master", "src"]);
-				//changeDirectory(haxe.io.Path.join([getHaxelibPath("flambe"), "..", "tests", "unit"]));
-				//runCommand("sh", ["run-tests"]);
+			case "flambe":
+				runCommand("git", ["clone", "https://github.com/aduros/flambe"]);
+				runCommand("sh", ["flambe/bin/run-travis"]);
 			case target:
 				throw "unknown target: " + target;
 		}