File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed
Expand file tree Collapse file tree 2 files changed +23
-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+ matrix :
23+ - UTPLSQL_VERSION="v3.0.0"
24+ UTPLSQL_FILE="utPLSQLv3.0.0"
25+ - UTPLSQL_VERSION="v3.0.1"
26+ - UTPLSQL_VERSION="v3.0.2"
27+ - UTPLSQL_VERSION="v3.0.3"
28+ - UTPLSQL_VERSION="v3.0.4"
29+ - UTPLSQL_VERSION="v3.1.0"
30+ - UTPLSQL_VERSION="v3.1.1"
31+ - UTPLSQL_VERSION="v3.1.2"
32+ - UTPLSQL_VERSION="develop"
33+ UTPLSQL_FILE="utPLSQL"
2234
2335cache :
2436 directories :
@@ -48,6 +60,8 @@ deploy:
4860 on :
4961 repository : utPLSQL/utPLSQL-cli
5062 tags : true
63+ # Use only first job "#xxx.1" to publish artifacts
64+ condition : " ${TRAVIS_JOB_NUMBER} =~ \\ .1$"
5165 - provider : bintray
5266 file : bintray.json
5367 user : ${BINTRAY_USER}
@@ -57,6 +71,8 @@ deploy:
5771 on :
5872 repository : utPLSQL/utPLSQL-cli
5973 branch : develop
74+ # Use only first job "#xxx.1" to publish artifacts
75+ condition : " ${TRAVIS_JOB_NUMBER} =~ \\ .1$"
6076
6177notifications :
6278 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