|
34 | 34 | - MAVEN_CFG=$HOME/.m2 |
35 | 35 | - UTPLSQL_CLI_VERSION="3.1.0" |
36 | 36 | matrix: |
37 | | - - UTPLSQL_3_VERSION='v3.0.0' RELEASE_ID=6394329 UTPLSQL_DIR='utPLSQLv3.0.0' |
38 | | - - UTPLSQL_3_VERSION='v3.0.1' RELEASE_ID=6716262 |
39 | | - - UTPLSQL_3_VERSION='v3.0.2' RELEASE_ID=7085296 |
40 | | - - UTPLSQL_3_VERSION='v3.0.3' RELEASE_ID=7293900 |
41 | | - - UTPLSQL_3_VERSION='v3.0.4' RELEASE_ID=8372513 |
42 | | - - UTPLSQL_3_VERSION='latest' RELEASE_ID='latest' |
| 37 | + - UTPLSQL_3_VERSION='v3.0.0' |
| 38 | + - UTPLSQL_3_VERSION='v3.0.1' |
| 39 | + - UTPLSQL_3_VERSION='v3.0.2' |
| 40 | + - UTPLSQL_3_VERSION='v3.0.3' |
| 41 | + - UTPLSQL_3_VERSION='v3.0.4' |
| 42 | + - UTPLSQL_3_VERSION='v3.1.1' |
| 43 | + - UTPLSQL_3_VERSION='develop' |
43 | 44 |
|
44 | 45 | before_install: |
45 | 46 | # download travis-oracle |
46 | 47 | - wget 'https://github.com/cbandy/travis-oracle/archive/v2.0.3.tar.gz' |
47 | 48 | - mkdir -p .travis/oracle |
48 | 49 | - tar x -C .travis/oracle --strip-components=1 -f v2.0.3.tar.gz |
49 | | - # download latest utPLSQL release |
50 | | - - 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') |
51 | | - - unzip -q utPLSQL_v3.zip |
| 50 | + # download utPLSQL v3 release |
| 51 | + - git clone --depth=1 --branch=${UTPLSQL_3_VERSION} https://github.com/utPLSQL/utPLSQL.git ${UTPLSQL_DIR} |
52 | 52 | # download utPLSQL v.2.3.1 release |
53 | 53 | - 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') |
54 | 54 | - unzip -d ${UTPLSQL_V2_DIR} -q utPLSQL_v2.zip |
|
0 commit comments