Browse Source

TravisCI: Fixed SauceLabs
Gist is now being served at different host...?
Use "-L" for curl such that it follows redirect.

Andy Li 11 years ago
parent
commit
266227dcef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/RunTravis.hx

+ 1 - 1
tests/RunTravis.hx

@@ -91,7 +91,7 @@ class RunTravis {
 				if (Sys.getEnv("TRAVIS_SECURE_ENV_VARS") == "true") {
 				if (Sys.getEnv("TRAVIS_SECURE_ENV_VARS") == "true") {
 					//https://saucelabs.com/opensource/travis
 					//https://saucelabs.com/opensource/travis
 					runCommand("npm", ["install", "wd"]);
 					runCommand("npm", ["install", "wd"]);
-					runCommand("curl", ["https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh", "|", "bash"]);
+					runCommand("curl", ["https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh", "-L", "|", "bash"]);
 					runCommand("haxelib", ["install", "nodejs"]);
 					runCommand("haxelib", ["install", "nodejs"]);
 					runCommand("haxe", ["compile-saucelabs-runner.hxml"]);
 					runCommand("haxe", ["compile-saucelabs-runner.hxml"]);
 					runCommand("nekotools", ["server", "&"]);
 					runCommand("nekotools", ["server", "&"]);