Skip to content

Commit 72eb3bc

Browse files
committed
Added Docker DB to project
1 parent 40a2e43 commit 72eb3bc

9 files changed

Lines changed: 29 additions & 367 deletions

File tree

.travis.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ addons:
1616

1717
env:
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
@@ -49,9 +51,6 @@ cache:
4951
- $MAVEN_CFG
5052

5153
before_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

.travis/download.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

.travis/download.sh

Lines changed: 0 additions & 71 deletions
This file was deleted.

.travis/oracle/LICENSE

Lines changed: 0 additions & 5 deletions
This file was deleted.

.travis/oracle/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

.travis/oracle/download.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

.travis/oracle/download.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)