Remove php 5 tests on mac (#7956)
diff --git a/kokoro/macos/php5.6_mac/build.sh b/kokoro/macos/php5.6_mac/build.sh
deleted file mode 100755
index 7487889..0000000
--- a/kokoro/macos/php5.6_mac/build.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-#
-# Build file to set up and run tests
-
-# Change to repo root
-cd $(dirname $0)/../../..
-
-# Prepare worker environment to run tests
-source kokoro/macos/prepare_build_macos_rc
-
-./tests.sh php5.6_mac
diff --git a/kokoro/macos/php5.6_mac/continuous.cfg b/kokoro/macos/php5.6_mac/continuous.cfg
deleted file mode 100644
index ff345e9..0000000
--- a/kokoro/macos/php5.6_mac/continuous.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-# Config file for running tests in Kokoro
-
-# Location of the build script in repository
-build_file: "protobuf/kokoro/macos/php5.6_mac/build.sh"
-timeout_mins: 1440
diff --git a/kokoro/macos/php5.6_mac/presubmit.cfg b/kokoro/macos/php5.6_mac/presubmit.cfg
deleted file mode 100644
index ff345e9..0000000
--- a/kokoro/macos/php5.6_mac/presubmit.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-# Config file for running tests in Kokoro
-
-# Location of the build script in repository
-build_file: "protobuf/kokoro/macos/php5.6_mac/build.sh"
-timeout_mins: 1440
diff --git a/tests.sh b/tests.sh
index eb28ee3..5113e4a 100755
--- a/tests.sh
+++ b/tests.sh
@@ -467,45 +467,6 @@
internal_build_cpp
}
-build_php5.5() {
- use_php 5.5
-
- pushd php
- rm -rf vendor
- composer update
- composer test
- popd
- (cd conformance && make test_php)
-}
-
-build_php5.6() {
- use_php 5.6
- pushd php
- rm -rf vendor
- composer update
- composer test
- popd
- (cd conformance && make test_php)
-}
-
-build_php5.6_mac() {
- # Install PHP
- curl -s https://php-osx.liip.ch/install.sh | bash -s 5.6
- PHP_FOLDER=`find /usr/local -type d -name "php5-5.6*"` # The folder name may change upon time
- test ! -z "$PHP_FOLDER"
- export PATH="$PHP_FOLDER/bin:$PATH"
-
- internal_build_cpp
-
- # Run pure-PHP tests only.
- pushd php
- rm -rf vendor
- composer update
- composer test
- popd
- (cd conformance && make test_php)
-}
-
build_php7.0() {
use_php 7.0
pushd php
@@ -747,8 +708,6 @@
}
build_php_all_32() {
- build_php5.5
- build_php5.6
build_php7.0
build_php7.1
build_php7.4
@@ -803,8 +762,6 @@
ruby27 |
jruby |
ruby_all |
- php5.5 |
- php5.6 |
php7.0 |
php7.0_c |
php_compatibility |