aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2016-11-10 11:20:50 -0800
committerGitHub <noreply@github.com>2016-11-10 11:20:50 -0800
commitdf8390790aae6025e95687a37eea81a4757966d0 (patch)
treec2659eb553f560bed02b984050462cba961aaf46 /tests.sh
parent9f75c5aa851cd877fb0d93ccc31b8567a6706546 (diff)
downloadprotobuf-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-xtests.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index 7a12f267..4ac6b7c6 100755
--- a/tests.sh
+++ b/tests.sh
@@ -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