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

Skip to content

Commit f11a52e

Browse files
committed
Moved mkdocs to deploy stage.
Added conditional execution for building release archive.
1 parent e4823b0 commit f11a52e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ install:
8181
- unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli
8282
# Get ojdbc via maven
8383
- bash .travis/maven_cfg.sh
84-
- pip install mkdocs
8584
- bash .travis/install_sqlcl.sh
8685
- sudo mkdir -p /dev/pdbs
8786
- sudo chmod -R 777 /dev/pdbs
@@ -111,9 +110,10 @@ notifications:
111110
jobs:
112111
include:
113112
- stage: deploy
114-
env: CONNECTION_STR='127.0.0.1:1521/XE'
113+
env: ORACLE_VERSION="none"
115114
before_install: skip
116-
install: skip
115+
install:
116+
- pip install mkdocs
117117
before_script: skip
118118
script:
119119
- if [[ ($TRAVIS_BRANCH == develop) && ($TRAVIS_PULL_REQUEST == false) ]]; then bash trigger-travis.sh $TRAVIS_ACCESS_TOKEN; fi
@@ -122,6 +122,9 @@ jobs:
122122
- bash .travis/push_docs_to_gh_pages.sh
123123
before_deploy:
124124
- bash .travis/build_release_archive.sh
125+
on:
126+
repo: ${UTPLSQL_REPO}
127+
tags: true
125128
deploy:
126129
provider: releases
127130
api_key: $github_api_token

0 commit comments

Comments
 (0)