Skip to content

Commit 37dde27

Browse files
committed
Switching to official travis-oracle
1 parent 6656b9f commit 37dde27

File tree

8 files changed

+7
-363
lines changed

8 files changed

+7
-363
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,23 @@ env:
3030
- UTPLSQL_DIR="utPLSQL"
3131
- UTPLSQL_V2_DIR="utPLSQL_V2"
3232
before_install:
33-
- npm install -g phantomjs-prebuilt casperjs
33+
# download travis-oracle
34+
- wget 'https://github.com/cbandy/travis-oracle/archive/v2.0.2.tar.gz'
35+
- mkdir -p .travis/oracle
36+
- tar x -C .travis/oracle --strip-components=1 -f v2.0.2.tar.gz
3437
# download latest utPLSQL release
3538
- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
39+
- unzip -q utPLSQL.zip
3640
# download utPLSQL v.2.3.1 release
3741
- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/3608515 | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
42+
- unzip -d ${UTPLSQL_V2_DIR} -q utplsql-2-3-1.zip
3843
# download utPLSQL-sql-cli
3944
- curl -Lk -o client.zip $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL-sql-cli/releases/latest | awk '/zipball_url/ { print $2 }' | sed -r 's/"|,//g')
45+
- echo $(unzip -d client client.zip && f=(client/*) && mv client/*/* . && rm -rf "${f[@]}")
4046
# download Oracle XE installer for Travis
4147
- .travis/oracle/download.sh
4248

4349
install:
44-
- unzip -q utPLSQL.zip
45-
- unzip -d ${UTPLSQL_V2_DIR} -q utplsql-2-3-1.zip
46-
# unzip utPLSQL-sql-cli to project directory
47-
- echo $(unzip -d client client.zip && f=(client/*) && mv client/*/* . && rm -rf "${f[@]}")
48-
4950
# Install Oracle Database
5051
- .travis/oracle/install.sh
5152
# Install utPLSQL v3

.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.

.travis/oracle/install.sh

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

0 commit comments

Comments
 (0)