diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-07-19 06:58:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 06:58:05 -0700 |
commit | 50aa4febaffa6a6f168ec3f9afc6fbdd40e4d31f (patch) | |
tree | 3e26d5f5696937c45974b07d4b7379a463947b13 /tests.sh | |
parent | 942a29cecd36f2a4b22fdd2179635cd548e6bd27 (diff) | |
parent | 6ec0b7e4d1fb606c6572a946e4eae97273367e67 (diff) | |
download | protobuf-50aa4febaffa6a6f168ec3f9afc6fbdd40e4d31f.tar.gz protobuf-50aa4febaffa6a6f168ec3f9afc6fbdd40e4d31f.tar.bz2 protobuf-50aa4febaffa6a6f168ec3f9afc6fbdd40e4d31f.zip |
Merge pull request #3375 from TeBoring/3.3.x
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 |