Remove php 5 tests on mac (#7956)
This commit is contained in:
parent
9ccde30967
commit
4eea2b00a3
@ -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
|
@ -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
|
@ -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
|
43
tests.sh
43
tests.sh
@ -467,45 +467,6 @@ use_php_zts() {
|
||||
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_php8.0_all() {
|
||||
}
|
||||
|
||||
build_php_all_32() {
|
||||
build_php5.5
|
||||
build_php5.6
|
||||
build_php7.0
|
||||
build_php7.1
|
||||
build_php7.4
|
||||
@ -803,8 +762,6 @@ Usage: $0 { cpp |
|
||||
ruby27 |
|
||||
jruby |
|
||||
ruby_all |
|
||||
php5.5 |
|
||||
php5.6 |
|
||||
php7.0 |
|
||||
php7.0_c |
|
||||
php_compatibility |
|
||||
|
Loading…
Reference in New Issue
Block a user