aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2017-05-05 11:14:11 -0700
committerGitHub <noreply@github.com>2017-05-05 11:14:11 -0700
commit25abd7b7e7a6e7f3dfabe6b3a762e2346b2ae185 (patch)
tree295af0fef9c2a8240d06de6920eaa7fd453564d9 /tests.sh
parent483396068d7788efca4d51584d160dc4da28c99d (diff)
downloadprotobuf-25abd7b7e7a6e7f3dfabe6b3a762e2346b2ae185.tar.gz
protobuf-25abd7b7e7a6e7f3dfabe6b3a762e2346b2ae185.tar.bz2
protobuf-25abd7b7e7a6e7f3dfabe6b3a762e2346b2ae185.zip
Add compatibility test for php. (#3041)
* Add compatibility test for php. * Revert API incompatible change.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index edb37da7..96550cb9 100755
--- a/tests.sh
+++ b/tests.sh
@@ -545,7 +545,12 @@ build_php7.0_mac() {
popd
}
-build_php_all() {
+build_php_compatibility() {
+ internal_build_cpp
+ php/tests/compatibility_test.sh
+}
+
+build_php_all_32() {
build_php5.5
build_php5.6
build_php7.0
@@ -557,6 +562,11 @@ build_php_all() {
build_php7.0_zts_c
}
+build_php_all() {
+ build_php_all_32
+ build_php_compatibility
+}
+
# Note: travis currently does not support testing more than one language so the
# .travis.yml cheats and claims to only be cpp. If they add multiple language
# support, this should probably get updated to install steps and/or
@@ -595,6 +605,7 @@ Usage: $0 { cpp |
php5.6_c |
php7.0 |
php7.0_c |
+ php_compatibility |
php_all)
"
exit 1