Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ env:
- DB_PASS=app
- ORACLE_VERSION="11g-r2-xe"
- DOCKER_OPTIONS="--shm-size=1g"
- UTPLSQL_FILE="utPLSQL"
matrix:
- UTPLSQL_VERSION="v3.0.0"
UTPLSQL_FILE="utPLSQLv3.0.0"
- UTPLSQL_VERSION="v3.0.1"
- UTPLSQL_VERSION="v3.0.2"
- UTPLSQL_VERSION="v3.0.3"
- UTPLSQL_VERSION="v3.0.4"
- UTPLSQL_VERSION="v3.1.1"
- UTPLSQL_VERSION="v3.1.2"
- UTPLSQL_VERSION="v3.1.3"
- UTPLSQL_VERSION="v3.1.6"
- UTPLSQL_VERSION="develop"
UTPLSQL_FILE="utPLSQL"

cache:
directories:
Expand Down Expand Up @@ -50,6 +64,8 @@ deploy:
on:
repository: utPLSQL/utPLSQL-cli
tags: true
# Use only first job "#xxx.1" to publish artifacts
condition: "${TRAVIS_JOB_NUMBER} =~ \\.1$"
- provider: bintray
file: bintray.json
user: ${BINTRAY_USER}
Expand All @@ -59,6 +75,8 @@ deploy:
on:
repository: utPLSQL/utPLSQL-cli
branch: develop
# Use only first job "#xxx.1" to publish artifacts
condition: "${TRAVIS_JOB_NUMBER} =~ \\.1$"

notifications:
slack:
Expand Down
16 changes: 7 additions & 9 deletions .travis/install_utplsql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ set -ev
cd $(dirname $(readlink -f $0))

# Download the specified version of utPLSQL.
UTPLSQL_VERSION="v3.0.4"
UTPLSQL_FILE="utPLSQL"
curl -L -O "https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION/$UTPLSQL_FILE.tar.gz"

# Download develop branch of utPLSQL.
#UTPLSQL_VERSION="develop"
#UTPLSQL_FILE="utPLSQL"
#git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git
# tar -czf $UTPLSQL_FILE.tar.gz $UTPLSQL_FILE && rm -rf $UTPLSQL_FILE
if [ "$UTPLSQL_VERSION" == "develop" ]
then
git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git
tar -czf $UTPLSQL_FILE.tar.gz $UTPLSQL_FILE && rm -rf $UTPLSQL_FILE
else
curl -L -O "https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION/$UTPLSQL_FILE.tar.gz"
fi

# Create a temporary install script.
cat > install.sh.tmp <<EOF
Expand Down