Browse Source

[CI] keep quiet (#7482)

Andy Li 7 years ago
parent
commit
4ee137f068
4 changed files with 10 additions and 10 deletions
  1. 2 2
      tests/runci/Linux.hx
  2. 1 1
      tests/runci/targets/As3.hx
  3. 6 6
      tests/runci/targets/Lua.hx
  4. 1 1
      tests/runci/targets/Python.hx

+ 2 - 2
tests/runci/Linux.hx

@@ -12,9 +12,9 @@ class Linux {
 		if (notYetInstalled.length > 0) {
 		if (notYetInstalled.length > 0) {
 			var aptCacheDir = Sys.getEnv("APT_CACHE_DIR");
 			var aptCacheDir = Sys.getEnv("APT_CACHE_DIR");
 			var baseCommand = if (aptCacheDir != null) {
 			var baseCommand = if (aptCacheDir != null) {
-				["apt-get", "-o", 'dir::cache::archives=${aptCacheDir}', "install", "-y"];
+				["apt-get", "-o", 'dir::cache::archives=${aptCacheDir}', "install", "-qqy"];
 			} else {
 			} else {
-				["apt-get", "install", "-y"];
+				["apt-get", "install", "-qqy"];
 			};
 			};
 			runCommand("sudo", baseCommand.concat(notYetInstalled), true);
 			runCommand("sudo", baseCommand.concat(notYetInstalled), true);
 		}
 		}

+ 1 - 1
tests/runci/targets/As3.hx

@@ -17,7 +17,7 @@ class As3 {
 		} else {
 		} else {
 			var apacheMirror = Json.parse(Http.requestUrl("http://www.apache.org/dyn/closer.lua?as_json=1")).preferred;
 			var apacheMirror = Json.parse(Http.requestUrl("http://www.apache.org/dyn/closer.lua?as_json=1")).preferred;
 			var flexVersion = "4.16.0";
 			var flexVersion = "4.16.0";
-			runCommand("wget", ['${apacheMirror}/flex/${flexVersion}/binaries/apache-flex-sdk-${flexVersion}-bin.tar.gz'], true);
+			runCommand("wget", ["-nv", '${apacheMirror}/flex/${flexVersion}/binaries/apache-flex-sdk-${flexVersion}-bin.tar.gz'], true);
 			runCommand("tar", ["-xf", 'apache-flex-sdk-${flexVersion}-bin.tar.gz', "-C", Sys.getEnv("HOME")]);
 			runCommand("tar", ["-xf", 'apache-flex-sdk-${flexVersion}-bin.tar.gz', "-C", Sys.getEnv("HOME")]);
 			var flexsdkPath = Sys.getEnv("HOME") + '/apache-flex-sdk-${flexVersion}-bin';
 			var flexsdkPath = Sys.getEnv("HOME") + '/apache-flex-sdk-${flexVersion}-bin';
 			addToPATH(flexsdkPath + "/bin");
 			addToPATH(flexsdkPath + "/bin");

+ 6 - 6
tests/runci/targets/Lua.hx

@@ -56,12 +56,12 @@ class Lua {
 
 
 			runCommand("lua",["-v"]);
 			runCommand("lua",["-v"]);
 
 
-			runCommand("luarocks", ["help", "--lua-incdir"]);
-			runCommand("luarocks", ["help", "--lua-libdir"]);
-			runCommand("luarocks", ["help", "--lua-ver"]);
-			runCommand("luarocks", ["help", "--system-config"]);
-			runCommand("luarocks", ["help", "--user-config"]);
-			runCommand("luarocks", ["help", "--rock-trees"]);
+			runCommand("luarocks", ["config", "--lua-incdir"]);
+			runCommand("luarocks", ["config", "--lua-libdir"]);
+			runCommand("luarocks", ["config", "--lua-ver"]);
+			runCommand("luarocks", ["config", "--system-config"]);
+			runCommand("luarocks", ["config", "--user-config"]);
+			runCommand("luarocks", ["config", "--rock-trees"]);
 
 
 			installLuaVersionDependencies(lv);
 			installLuaVersionDependencies(lv);
 
 

+ 1 - 1
tests/runci/targets/Python.hx

@@ -21,7 +21,7 @@ class Python {
 					var pypyVersion = "pypy3-2.4.0-linux64";
 					var pypyVersion = "pypy3-2.4.0-linux64";
 					var file = '${pypyVersion}.tar.bz2';
 					var file = '${pypyVersion}.tar.bz2';
 					if(!FileSystem.exists(file)) {
 					if(!FileSystem.exists(file)) {
-						runCommand("wget", ['https://bitbucket.org/pypy/pypy/downloads/$file'], true);
+						runCommand("wget", ["-nv", 'https://bitbucket.org/pypy/pypy/downloads/$file'], true);
 					}
 					}
 					runCommand("tar", ["-xf", file]);
 					runCommand("tar", ["-xf", file]);
 					pypy = FileSystem.fullPath('${pypyVersion}/bin/pypy3');
 					pypy = FileSystem.fullPath('${pypyVersion}/bin/pypy3');