@@ -16,11 +16,13 @@ addons:
1616
1717env :
1818 global :
19+ - SQLCLI="$HOME/sqlcl/bin/sql"
20+ - OJDBC_HOME="$HOME/sqlcl/lib"
21+ - ORACLE_PWD="oracle"
1922 # Oracle 11g XE R2 variables
20- - ORACLE_COOKIE=sqldev
21- - ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
22- - ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
23- - ORACLE_SID=XE
23+ - ORACLE_VERSION=11g-r2-xe
24+ - CONNECTION_STR='127.0.0.1:1521/XE'
25+ - DOCKER_OPTIONS='--shm-size=1g'
2426 # Adding SQLPlus to path
2527 - PATH=$PATH:$ORACLE_HOME/bin
2628 # project variables
4951 - $MAVEN_CFG
5052
5153before_install :
52- - npm install -g phantomjs-prebuilt casperjs
53- # download Oracle XE installer for Travis
54- - .travis/oracle/download.sh
5554 # download latest utPLSQL develop code
5655 - git clone --depth=1 --branch=${UTPLSQL_3_VERSION} https://github.com/utPLSQL/utPLSQL.git ${UTPLSQL_DIR}
5756 # download latest utPLSQL-cli release
@@ -64,12 +63,14 @@ install:
6463 - unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli
6564 # get ojdbc.jar from Oracle using maven
6665 - bash .travis/maven_cfg.sh
67- # Install Oracle Database
68- - .travis/oracle/install.sh
66+ - bash .travis/install_sqlcl.sh
67+ # download and run Oracle docker DB image
68+ - bash .travis/start_db.sh
69+
6970 # Install utPLSQL
7071 - .travis/install_utplsql.sh
7172 - .travis/setup_account.sh
72- # Instal project sources and tests
73+ # Install project sources and tests
7374 - source/install.sh
7475 - test/install.sh
7576
0 commit comments