Thanks to visit codestin.com
Credit goes to github.com

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: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ before_deploy:
- bash .travis/create_release.sh

deploy:
provider: bintray
file: bintray.json
user: $BINTRAY_USER
key: $BINTRAY_API_KEY
dry-run: false
on: develop
- provider: releases
api_key: $GITHUB_API_TOKEN
file: utPLSQL-cli.zip
skip_cleanup: true
on:
tags: true
- provider: bintray
file: bintray.json
user: $BINTRAY_USER
key: $BINTRAY_API_KEY
dry-run: false
on: develop
1 change: 1 addition & 0 deletions .travis/create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ VERSION=`date +%Y%m%d%H%M`
mkdir dist
mv target/appassembler utPLSQL-cli
zip -r -q dist/utPLSQL-cli-${TRAVIS_BRANCH}-${VERSION}.zip utPLSQL-cli
zip -r -q utPLSQL-cli.zip utPLSQL-cli

cat > bintray.json <<EOF
{
Expand Down