зеркало из https://github.com/nextcloud/travis_ci.git
Test oracle support on 7.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
554193aeea
Коммит
98d8b27e65
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче