|
@@ -156,7 +156,7 @@ class RunTravis {
|
|
|
static function runFlash(swf:String):Void {
|
|
|
switch (systemName) {
|
|
|
case "Linux":
|
|
|
- Sys.command(Sys.getEnv("HOME") + "/flashplayerdebugger", [swf, "&"]);
|
|
|
+ new Process(Sys.getEnv("HOME") + "/flashplayerdebugger", [swf]);
|
|
|
case "Mac":
|
|
|
Sys.command("open", ["-a", Sys.getEnv("HOME") + "/Applications/Flash Player Debugger.app", swf]);
|
|
|
}
|
|
@@ -452,11 +452,14 @@ class RunTravis {
|
|
|
if (Sys.getEnv("TRAVIS_SECURE_ENV_VARS") == "true" && systemName == "Linux") {
|
|
|
//https://saucelabs.com/opensource/travis
|
|
|
runCommand("npm", ["install", "wd"], true);
|
|
|
- runCommand("curl", ["https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh", "-L", "|", "bash"], true);
|
|
|
+ runCommand("wget", ["-nv", "https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh"], true);
|
|
|
+ runCommand("chmod", ["a+x", "sauce_connect_setup.sh"]);
|
|
|
+ runCommand("./sauce_connect_setup.sh", []);
|
|
|
haxelibInstallGit("dionjwa", "nodejs-std", "master", "src", true, "nodejs");
|
|
|
runCommand("haxe", ["compile-saucelabs-runner.hxml"]);
|
|
|
- runCommand("nekotools", ["server", "&"]);
|
|
|
+ var server = new Process("nekotools", ["server"]);
|
|
|
runCommand("node", ["RunSauceLabs.js"]);
|
|
|
+ server.close();
|
|
|
}
|
|
|
|
|
|
infoMsg("Test optimization:");
|