diff options
author | Bo Yang <teboring@google.com> | 2017-07-17 09:36:22 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-07-18 11:06:16 -0700 |
commit | 6ec0b7e4d1fb606c6572a946e4eae97273367e67 (patch) | |
tree | d983812539a3299ff130fff469140bdcd1bb1690 /tests.sh | |
parent | 324b20a49170cb38d15ef243bc044026adb54ae1 (diff) | |
parent | 5532abc15b97f3489183b266b41844306052a3fa (diff) | |
download | protobuf-6ec0b7e4d1fb606c6572a946e4eae97273367e67.tar.gz protobuf-6ec0b7e4d1fb606c6572a946e4eae97273367e67.tar.bz2 protobuf-6ec0b7e4d1fb606c6572a946e4eae97273367e67.zip |
Merge 3.3.x into master
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -544,16 +544,51 @@ build_php_compatibility() { php/tests/compatibility_test.sh } +build_php7.1() { + use_php 7.1 + pushd php + rm -rf vendor + cp -r /usr/local/vendor-7.1 vendor + wget https://phar.phpunit.de/phpunit-5.6.0.phar -O /usr/bin/phpunit + phpunit + popd + pushd conformance + # TODO(teboring): Add it back + # make test_php + popd +} + +build_php7.1_c() { + use_php 7.1 + wget https://phar.phpunit.de/phpunit-5.6.0.phar -O /usr/bin/phpunit + cd php/tests && /bin/bash ./test.sh && cd ../.. + pushd conformance + # make test_php_c + popd +} + +build_php7.1_zts_c() { + use_php_zts 7.1 + wget https://phar.phpunit.de/phpunit-5.6.0.phar -O /usr/bin/phpunit + cd php/tests && /bin/bash ./test.sh && cd ../.. + pushd conformance + # make test_php_c + popd +} + build_php_all_32() { build_php5.5 build_php5.6 build_php7.0 + build_php7.1 build_php5.5_c build_php5.6_c build_php7.0_c + build_php7.1_c build_php5.5_zts_c build_php5.6_zts_c build_php7.0_zts_c + build_php7.1_zts_c } build_php_all() { @@ -600,6 +635,8 @@ Usage: $0 { cpp | php7.0 | php7.0_c | php_compatibility | + php7.1 | + php7.1_c | php_all) " exit 1 |