Skip to content

Commit 633247a

Browse files
committed
Download Oracle package from a custom location
1 parent 9df9623 commit 633247a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/install_oracle.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ wget 'https://github.com/cbandy/travis-oracle/archive/v2.0.3.tar.gz'
44
mkdir -p ~/.travis/oracle
55
tar xz --strip-components 1 -C ~/.travis/oracle -f v2.0.3.tar.gz
66

7-
~/.travis/oracle/download.sh
7+
if [ -n $CUSTOM_ORACLE_FILE ]; then
8+
wget -q $CUSTOM_ORACLE_FILE -O ~/.travis/oracle/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
9+
else
10+
~/.travis/oracle/download.sh
11+
fi
12+
813
~/.travis/oracle/install.sh
914

1015
"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL

0 commit comments

Comments
 (0)