From df8390790aae6025e95687a37eea81a4757966d0 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Thu, 10 Nov 2016 11:20:50 -0800 Subject: Fix php c extension on 32-bit machines. (#2348) --- tests.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests.sh') 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 -- cgit v1.2.3