File tree Expand file tree Collapse file tree 2 files changed +25
-9
lines changed
Expand file tree Collapse file tree 2 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 1919 - DB_PASS=app
2020 - ORACLE_VERSION="11g-r2-xe"
2121 - DOCKER_OPTIONS="--shm-size=1g"
22+ - UTPLSQL_FILE="utPLSQL"
23+ matrix :
24+ - UTPLSQL_VERSION="v3.0.0"
25+ UTPLSQL_FILE="utPLSQLv3.0.0"
26+ - UTPLSQL_VERSION="v3.0.1"
27+ - UTPLSQL_VERSION="v3.0.2"
28+ - UTPLSQL_VERSION="v3.0.3"
29+ - UTPLSQL_VERSION="v3.0.4"
30+ - UTPLSQL_VERSION="v3.1.1"
31+ - UTPLSQL_VERSION="v3.1.2"
32+ - UTPLSQL_VERSION="v3.1.3"
33+ - UTPLSQL_VERSION="v3.1.6"
34+ - UTPLSQL_VERSION="develop"
35+ UTPLSQL_FILE="utPLSQL"
2236
2337cache :
2438 directories :
@@ -50,6 +64,8 @@ deploy:
5064 on :
5165 repository : utPLSQL/utPLSQL-cli
5266 tags : true
67+ # Use only first job "#xxx.1" to publish artifacts
68+ condition : " ${TRAVIS_JOB_NUMBER} =~ \\ .1$"
5369 - provider : bintray
5470 file : bintray.json
5571 user : ${BINTRAY_USER}
@@ -59,6 +75,8 @@ deploy:
5975 on :
6076 repository : utPLSQL/utPLSQL-cli
6177 branch : develop
78+ # Use only first job "#xxx.1" to publish artifacts
79+ condition : " ${TRAVIS_JOB_NUMBER} =~ \\ .1$"
6280
6381notifications :
6482 slack :
Original file line number Diff line number Diff line change @@ -3,15 +3,13 @@ set -ev
33cd $( dirname $( readlink -f $0 ) )
44
55# Download the specified version of utPLSQL.
6- UTPLSQL_VERSION=" v3.0.4"
7- UTPLSQL_FILE=" utPLSQL"
8- curl -L -O " https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION /$UTPLSQL_FILE .tar.gz"
9-
10- # Download develop branch of utPLSQL.
11- # UTPLSQL_VERSION="develop"
12- # UTPLSQL_FILE="utPLSQL"
13- # git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git
14- # tar -czf $UTPLSQL_FILE.tar.gz $UTPLSQL_FILE && rm -rf $UTPLSQL_FILE
6+ if [ " $UTPLSQL_VERSION " == " develop" ]
7+ then
8+ git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git
9+ tar -czf $UTPLSQL_FILE .tar.gz $UTPLSQL_FILE && rm -rf $UTPLSQL_FILE
10+ else
11+ curl -L -O " https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION /$UTPLSQL_FILE .tar.gz"
12+ fi
1513
1614# Create a temporary install script.
1715cat > install.sh.tmp << EOF
You can’t perform that action at this time.
0 commit comments