diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-05-05 11:14:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 11:14:11 -0700 |
commit | 25abd7b7e7a6e7f3dfabe6b3a762e2346b2ae185 (patch) | |
tree | 295af0fef9c2a8240d06de6920eaa7fd453564d9 /tests.sh | |
parent | 483396068d7788efca4d51584d160dc4da28c99d (diff) | |
download | protobuf-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-x | tests.sh | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |