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 19
19
- DB_PASS=app
20
20
- ORACLE_VERSION="11g-r2-xe"
21
21
- 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"
22
36
23
37
cache :
24
38
directories :
@@ -50,6 +64,8 @@ deploy:
50
64
on :
51
65
repository : utPLSQL/utPLSQL-cli
52
66
tags : true
67
+ # Use only first job "#xxx.1" to publish artifacts
68
+ condition : " ${TRAVIS_JOB_NUMBER} =~ \\ .1$"
53
69
- provider : bintray
54
70
file : bintray.json
55
71
user : ${BINTRAY_USER}
@@ -59,6 +75,8 @@ deploy:
59
75
on :
60
76
repository : utPLSQL/utPLSQL-cli
61
77
branch : develop
78
+ # Use only first job "#xxx.1" to publish artifacts
79
+ condition : " ${TRAVIS_JOB_NUMBER} =~ \\ .1$"
62
80
63
81
notifications :
64
82
slack :
Original file line number Diff line number Diff line change @@ -3,15 +3,13 @@ set -ev
3
3
cd $( dirname $( readlink -f $0 ) )
4
4
5
5
# 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
15
13
16
14
# Create a temporary install script.
17
15
cat > install.sh.tmp << EOF
You can’t perform that action at this time.
0 commit comments