diff options
author | Joas Schilling <coding@schilljs.com> | 2019-12-05 15:52:46 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-05 15:52:46 +0300 |
commit | 98d8b27e65ae7b4610179b228c91595c7cc84c0a (patch) | |
tree | 7abf0f3b4f3260f6fd8194ff4ab629212343ae1a | |
parent | 554193aeeaa504e52b9e9553f7b448e501d5ddd8 (diff) |
Test oracle support on 7.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-x | before_install_oracle.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/before_install_oracle.sh b/before_install_oracle.sh index dd796fc..c7d6657 100755 --- a/before_install_oracle.sh +++ b/before_install_oracle.sh @@ -11,6 +11,18 @@ sudo ln -s /usr/include/oracle/11.2/client64/ /usr/lib/oracle/11.2/client64/rdbm sudo apt-get install -qq --force-yes libaio1 if [ "$TRAVIS_PHP_VERSION" == "7" ] ; then printf "/usr/lib/oracle/11.2/client64\n" | pecl install oci8 +elif [ "$TRAVIS_PHP_VERSION" == "7.3" ] ; then + mkdir /tmp/oci8 + cd /tmp/oci8 + wget https://pecl.php.net/get/oci8-2.2.0.tgz + tar -xzf oci8-2.2.0.tgz + cd oci8-2.2.0 + phpize + ORACLE_HOME=/usr/lib/oracle/11.2/client64 + ./configure + make install + + echo "extension=oci8.so" >> /home/travis/.phpenv/versions/$(phpenv version-name)/etc/php.ini else mkdir /tmp/oci8 cd /tmp/oci8 |