Permalink
Browse files

Use bash

  • Loading branch information...
1 parent 286dde6 commit a5624df035b57f0e4a61348a9db25f10f64ea2e2 @laruence laruence committed Apr 20, 2013
Showing with 5 additions and 6 deletions.
  1. +5 −6 .travis/run-test.sh
View
@@ -1,14 +1,13 @@
-#!/bin/sh
+#!/bin/bash
PHP_VERSION=`php-config --vernum`
-php-config --configure-options | grep "enable-debug" >/dev/null
-php_debug=$?
-php_zts=`php -r "echo PHP_ZTS;"`
-TEST_DIR="`pwd`/tests"
-
export TEST_PHP_EXECUTABLE=`which php`
+TEST_DIR="`pwd`/tests"
if [ $PHP_VERSION -lt 50300 ]
then
+ php-config --configure-options | grep "enable-debug" >/dev/null
+ php_debug=$?
+ php_zts=`php -r "echo PHP_ZTS;"`
if [ $php_debug -eq 0 ]
then
if [ $php_zts -eq 1 ]

0 comments on commit a5624df

Please sign in to comment.