diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2016-11-10 11:20:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-10 11:20:50 -0800 |
commit | df8390790aae6025e95687a37eea81a4757966d0 (patch) | |
tree | c2659eb553f560bed02b984050462cba961aaf46 /tests.sh | |
parent | 9f75c5aa851cd877fb0d93ccc31b8567a6706546 (diff) | |
download | protobuf-df8390790aae6025e95687a37eea81a4757966d0.tar.gz protobuf-df8390790aae6025e95687a37eea81a4757966d0.tar.bz2 protobuf-df8390790aae6025e95687a37eea81a4757966d0.zip |
Fix php c extension on 32-bit machines. (#2348)
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -393,6 +393,12 @@ build_php5.5_32() { ./vendor/bin/phpunit } +build_php5.5_c_32() { + use_php_bc 5.5 + wget https://phar.phpunit.de/phpunit-old.phar -O /usr/bin/phpunit + cd php/tests && /bin/bash ./test.sh && cd ../.. +} + build_php5.6() { use_php 5.6 rm -rf vendor @@ -449,6 +455,7 @@ build_php_all() { build_php_all_32() { build_php5.5_32 + build_php5.5_c_32 } # Note: travis currently does not support testing more than one language so the |