From d5c8212dd0d63983a44fbd4e981353e7cc01f6a7 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 26 Aug 2015 10:21:12 -0400 Subject: [PATCH] Another attempt to get php to use interbase extension --- .travis.yml | 2 +- tests/bootstrap.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9f0f094..49518b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ before_install: install: - sudo chmod 777 tests/db_files/FB_TEST_DB.FDB - - pecl install -f pdo_firebird-0.2 + - sudo pecl install -f pdo_firebird-0.2 before_script: - sudo service firebird2.5-super start diff --git a/tests/bootstrap.php b/tests/bootstrap.php index f42f994..a7bfead 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -13,6 +13,11 @@ // -------------------------------------------------------------------------- +if (($var = getenv('CI'))) +{ + dl('interbase.so'); +} + /** * Quercus detection for workarounds */