|
@@ -413,7 +413,7 @@ class RunTravis {
|
|
//}
|
|
//}
|
|
case Neko:
|
|
case Neko:
|
|
runCommand("haxe", ["compile-neko.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-neko.hxml","-D","travis"]);
|
|
- runCommand("neko", ["unit.n"]);
|
|
|
|
|
|
+ runCommand("neko", ["bin/unit.n"]);
|
|
|
|
|
|
changeDirectory(sysDir);
|
|
changeDirectory(sysDir);
|
|
runCommand("haxe", ["compile-neko.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-neko.hxml","-D","travis"]);
|
|
@@ -422,25 +422,29 @@ class RunTravis {
|
|
case Php:
|
|
case Php:
|
|
getPhpDependencies();
|
|
getPhpDependencies();
|
|
runCommand("haxe", ["compile-php.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-php.hxml","-D","travis"]);
|
|
- runCommand("php", ["php/index.php"]);
|
|
|
|
|
|
+ runCommand("php", ["bin/php/index.php"]);
|
|
case Python:
|
|
case Python:
|
|
getPythonDependencies();
|
|
getPythonDependencies();
|
|
runCommand("haxe", ["compile-python.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-python.hxml","-D","travis"]);
|
|
- runCommand("python3", ["unit.py"]);
|
|
|
|
|
|
+ runCommand("python3", ["bin/unit.py"]);
|
|
|
|
|
|
changeDirectory(sysDir);
|
|
changeDirectory(sysDir);
|
|
runCommand("haxe", ["compile-python.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-python.hxml","-D","travis"]);
|
|
changeDirectory("bin/python");
|
|
changeDirectory("bin/python");
|
|
runCommand("python3", ["sys.py"].concat(args));
|
|
runCommand("python3", ["sys.py"].concat(args));
|
|
|
|
+
|
|
|
|
+ changeDirectory(miscDir + "pythonImport");
|
|
|
|
+ runCommand("haxe", ["compile.hxml"]);
|
|
|
|
+ runCommand("python3", ["test.py"]);
|
|
case Cpp:
|
|
case Cpp:
|
|
getCppDependencies();
|
|
getCppDependencies();
|
|
runCommand("haxe", ["compile-cpp.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-cpp.hxml","-D","travis"]);
|
|
- runCommand("./cpp/Test-debug", []);
|
|
|
|
|
|
+ runCommand("./bin/cpp/Test-debug", []);
|
|
|
|
|
|
runCommand("rm", ["-rf", "cpp"]);
|
|
runCommand("rm", ["-rf", "cpp"]);
|
|
|
|
|
|
runCommand("haxe", ["compile-cpp.hxml", "-D", "HXCPP_M64","-D","travis"]);
|
|
runCommand("haxe", ["compile-cpp.hxml", "-D", "HXCPP_M64","-D","travis"]);
|
|
- runCommand("./cpp/Test-debug", []);
|
|
|
|
|
|
+ runCommand("./bin/cpp/Test-debug", []);
|
|
|
|
|
|
changeDirectory(sysDir);
|
|
changeDirectory(sysDir);
|
|
runCommand("haxe", ["compile-cpp.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-cpp.hxml","-D","travis"]);
|
|
@@ -451,7 +455,7 @@ class RunTravis {
|
|
|
|
|
|
for (flatten in [true, false]) {
|
|
for (flatten in [true, false]) {
|
|
runCommand("haxe", ["compile-js.hxml","-D","travis"].concat(flatten ? ["-D", "js-flatten"] : []));
|
|
runCommand("haxe", ["compile-js.hxml","-D","travis"].concat(flatten ? ["-D", "js-flatten"] : []));
|
|
- runCommand("node", ["-e", "var unit = require('./unit.js').unit; unit.Test.main(); process.exit(unit.Test.success ? 0 : 1);"]);
|
|
|
|
|
|
+ runCommand("node", ["-e", "var unit = require('./bin/unit.js').unit; unit.Test.main(); process.exit(unit.Test.success ? 0 : 1);"]);
|
|
}
|
|
}
|
|
|
|
|
|
if (Sys.getEnv("TRAVIS_SECURE_ENV_VARS") == "true" && systemName == "Linux") {
|
|
if (Sys.getEnv("TRAVIS_SECURE_ENV_VARS") == "true" && systemName == "Linux") {
|
|
@@ -473,23 +477,23 @@ class RunTravis {
|
|
case Java:
|
|
case Java:
|
|
getJavaDependencies();
|
|
getJavaDependencies();
|
|
runCommand("haxe", ["compile-java.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-java.hxml","-D","travis"]);
|
|
- runCommand("java", ["-jar", "java/Test-Debug.jar"]);
|
|
|
|
|
|
+ runCommand("java", ["-jar", "bin/java/Test-Debug.jar"]);
|
|
case Cs:
|
|
case Cs:
|
|
getCsDependencies();
|
|
getCsDependencies();
|
|
|
|
|
|
runCommand("haxe", ["compile-cs.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-cs.hxml","-D","travis"]);
|
|
- runCommand("mono", ["cs/bin/Test-Debug.exe"]);
|
|
|
|
|
|
+ runCommand("mono", ["bin/cs/bin/Test-Debug.exe"]);
|
|
|
|
|
|
runCommand("haxe", ["compile-cs-unsafe.hxml","-D","travis"]);
|
|
runCommand("haxe", ["compile-cs-unsafe.hxml","-D","travis"]);
|
|
- runCommand("mono", ["cs_unsafe/bin/Test-Debug.exe"]);
|
|
|
|
|
|
+ runCommand("mono", ["bin/cs_unsafe/bin/Test-Debug.exe"]);
|
|
case Flash9:
|
|
case Flash9:
|
|
setupFlashPlayerDebugger();
|
|
setupFlashPlayerDebugger();
|
|
runCommand("haxe", ["compile-flash9.hxml", "-D", "fdb","-D","travis"]);
|
|
runCommand("haxe", ["compile-flash9.hxml", "-D", "fdb","-D","travis"]);
|
|
- runFlash("unit9.swf");
|
|
|
|
|
|
+ runFlash("bin/unit9.swf");
|
|
case Flash8:
|
|
case Flash8:
|
|
setupFlashPlayerDebugger();
|
|
setupFlashPlayerDebugger();
|
|
runCommand("haxe", ["compile-flash8.hxml", "-D", "fdb","-D","travis"]);
|
|
runCommand("haxe", ["compile-flash8.hxml", "-D", "fdb","-D","travis"]);
|
|
- runFlash("unit8.swf");
|
|
|
|
|
|
+ runFlash("bin/unit8.swf");
|
|
case As3:
|
|
case As3:
|
|
setupFlashPlayerDebugger();
|
|
setupFlashPlayerDebugger();
|
|
|
|
|
|
@@ -506,7 +510,7 @@ class RunTravis {
|
|
runCommand("mxmlc", ["--version"]);
|
|
runCommand("mxmlc", ["--version"]);
|
|
|
|
|
|
runCommand("haxe", ["compile-as3.hxml", "-D", "fdb","-D","travis"]);
|
|
runCommand("haxe", ["compile-as3.hxml", "-D", "fdb","-D","travis"]);
|
|
- runFlash("unit9_as3.swf");
|
|
|
|
|
|
+ runFlash("bin/unit9_as3.swf");
|
|
case ThirdParty:
|
|
case ThirdParty:
|
|
getPhpDependencies();
|
|
getPhpDependencies();
|
|
getJavaDependencies();
|
|
getJavaDependencies();
|