浏览代码

Remove php 5 tests on mac (#7956)

Paul Yang 5 年之前
父节点
当前提交
4eea2b00a3
共有 4 个文件被更改,包括 0 次插入64 次删除
  1. 0 11
      kokoro/macos/php5.6_mac/build.sh
  2. 0 5
      kokoro/macos/php5.6_mac/continuous.cfg
  3. 0 5
      kokoro/macos/php5.6_mac/presubmit.cfg
  4. 0 43
      tests.sh

+ 0 - 11
kokoro/macos/php5.6_mac/build.sh

@@ -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

+ 0 - 5
kokoro/macos/php5.6_mac/continuous.cfg

@@ -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

+ 0 - 5
kokoro/macos/php5.6_mac/presubmit.cfg

@@ -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

+ 0 - 43
tests.sh

@@ -467,45 +467,6 @@ use_php_zts() {
   internal_build_cpp
   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() {
 build_php7.0() {
   use_php 7.0
   use_php 7.0
   pushd php
   pushd php
@@ -747,8 +708,6 @@ build_php8.0_all() {
 }
 }
 
 
 build_php_all_32() {
 build_php_all_32() {
-  build_php5.5
-  build_php5.6
   build_php7.0
   build_php7.0
   build_php7.1
   build_php7.1
   build_php7.4
   build_php7.4
@@ -803,8 +762,6 @@ Usage: $0 { cpp |
             ruby27 |
             ruby27 |
             jruby |
             jruby |
             ruby_all |
             ruby_all |
-            php5.5   |
-            php5.6   |
             php7.0   |
             php7.0   |
             php7.0_c |
             php7.0_c |
             php_compatibility |
             php_compatibility |