Skip to content

Commit 358c3a8

Browse files
author
Gebal, Jacek
committed
Fixing build matrix
1 parent 6061474 commit 358c3a8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ env:
3131
- UTPLSQL_V2_DIR="utPLSQL_V2"
3232
- MAVEN_HOME=/usr/local/maven
3333
- MAVEN_CFG=$HOME/.m2
34+
- UTPLSQL_CLI_VERSION="3.0.4"
3435
matrix:
3536
- UTPLSQL_3_VERSION='v3.0.0' RELEASE_ID=6394329
3637
- UTPLSQL_3_VERSION='v3.0.1' RELEASE_ID=6716262
@@ -45,11 +46,11 @@ before_install:
4546
- mkdir -p .travis/oracle
4647
- tar x -C .travis/oracle --strip-components=1 -f v2.0.3.tar.gz
4748
# download latest utPLSQL release
48-
- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/${RELEASE_ID} | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
49-
- unzip -q utPLSQL.zip
49+
- curl -Lk -o utPLSQL_v3.zip $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/${RELEASE_ID} | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
50+
- unzip -q utPLSQL_v3.zip
5051
# download utPLSQL v.2.3.1 release
51-
- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/3608515 | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
52-
- unzip -d ${UTPLSQL_V2_DIR} -q utplsql-2-3-1.zip
52+
- curl -Lk -o utPLSQL_v2.zip $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/3608515 | awk '/browser_download_url/ { print $2 }' | grep ".zip" | sed 's/"//g')
53+
- unzip -d ${UTPLSQL_V2_DIR} -q utPLSQL_v2.zip
5354
# download utPLSQL-cli
5455
- curl -Lk -o utPLSQL-cli.zip https://github.com/utPLSQL/utPLSQL-cli/releases/download/v${UTPLSQL_CLI_VERSION}/utPLSQL-cli.zip
5556
- unzip -q utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli

0 commit comments

Comments
 (0)