Skip to content

Commit a66fed0

Browse files
committed
Added complete Version-matrix to increase safety-net
1 parent 7d9c239 commit a66fed0

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ env:
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

2335
cache:
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

6177
notifications:
6278
slack:

.travis/install_utplsql.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ set -ev
33
cd $(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.
1715
cat > install.sh.tmp <<EOF

0 commit comments

Comments
 (0)