Przeglądaj źródła

[TravisCI] install php7.1 on Mac

Andy Li 8 lat temu
rodzic
commit
824185f11a
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      tests/runci/targets/Php.hx

+ 2 - 1
tests/runci/targets/Php.hx

@@ -21,7 +21,8 @@ class Php {
 			case "Linux":
 				runCommand("phpenv", ["global", "7.0"], false, true);
 			case "Mac":
-				//pass
+				runCommand("brew", ["tap", "homebrew/homebrew-php"], true);
+				runCommand("brew", ["install", "php71"], true);
 			case "Windows":
 				runCommand("cinst", ["php", "-version", "7.1.8", "-y"], true);
 		}