Explorar o código

Merge branch 'development' of https://github.com/HaxeFoundation/haxe into development

Hugh %!s(int64=11) %!d(string=hai) anos
pai
achega
68b371ee43
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tests/RunTravis.hx

+ 3 - 0
tests/RunTravis.hx

@@ -262,6 +262,9 @@ class RunTravis {
 	static function getPhpDependencies() {
 		switch (systemName) {
 			case "Linux":
+				//let's install php 5.4 to avoid #3175
+				runCommand("sudo", ["add-apt-repository", "ppa:ondrej/php5-oldstable", "-y"], true);
+				runCommand("sudo", ["apt-get", "update"], true);
 				runCommand("sudo", ["apt-get", "install", "php5", "-y"], true);
 			case "Mac":
 				//pass