Skip to content

Commit 352b5ee

Browse files
committed
upload documentation
1 parent aa8cc05 commit 352b5ee

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.travis.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,28 @@ jobs:
2929
- codecov
3030

3131
- stage: deploy documentation
32+
if: branch = master AND tag is true
3233
python: 3.6
3334
install: pip install sphinx
34-
script: sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html ; touch ./doc/_build/html/.nojekyll
35+
script:
36+
- sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
37+
- touch ./doc/_build/html/.nojekyll
38+
- pushd ./doc/_build/html ; zip -r ../../../doc .
3539
deploy:
3640
provider: pages
3741
skip_cleanup: true
3842
github_token: $GITHUB_TOKEN
3943
keep_history: true
4044
local_dir: ./doc/_build/html
41-
on:
42-
branch: master
43-
tags: true
4445
deploy:
4546
provider: releases
4647
api_key: $GITHUB_TOKEN
48+
files:
49+
- ./doc.zip
4750
draft: true
48-
on:
49-
branch: master
50-
tags: true
5151

5252
- stage: test package deployment
53+
if: branch = master AND tag is true
5354
script: # Cancel out default script
5455
-
5556
deploy:
@@ -60,8 +61,5 @@ jobs:
6061
password:
6162
secure: wTwws6xBoptSsNP4Yr5/W1yRfOLmrQynnyQGmAFAlr3t9Xkf56fNLPhLN54Q3zLP+au9pb8OzNqAu2fbwXuS/rj+M/Jqy8JLICeyivVN4UNnYfc4ICJYJUk6Y1w16brzJDtVO0WuGLsR6ENp6JBBzMglCfgjGIU3zYv/bSUz0NZudXJKl03pBNQA/EFEmjqcotkSwTLcRnuYjKZvoROsH4MAgHdVz28MpzeAFRTaqJZ/u3hV6aG3BAQIezSOyDuWB4iymgh+6svxgLyTmmCgdvaS+IVT5pKSKIyv22WG8HdGMJG6FAGsHbREdpSOx2Y7Sn1gM0+AJeKH0okxCB299B2/7zcO/T9vjqV6JH8fmM+Utm3oj5LLse8ckQnVeQDAZlUgsEs4hul5V2LkvUrKklO6yaJrUnUBTBHSe08axw/LxhFhYSBPc87VqlG1bjvberLOw3FB/5BaObYFOH2KOetNJ4cIscFQvNFBQ0ZP36qrmwwa4h4YlUIRRY9ZMivPFuuTevcloKer4423/HaTi7CZU26niBma9UuORdIbc2YDLRc/DIztGBaTp7ZwNXlFfVZ8jkXYHov4aU5xKoehPFLcko1Ltii9BpH8Rv1b7GW09G3QPpB9Mx3RuG9GFQgvkD6nZI/hpyXooBphklPzG88m6EmzfGsojJlDqoPExJs=
6263
distributions: sdist bdist_wheel
63-
on:
64-
branch: master
65-
tags: true
6664

6765

src/sasctl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright © 2019, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
55
# SPDX-License-Identifier: Apache-2.0
66

7-
__version__ = '0.9.5'
7+
__version__ = '0.9.6-alpha0'
88
__author__ = 'SAS'
99
__credits__ = ['Lucas De Paula, Peter Tobac, Jon Walker']
1010
__license__ = 'Apache 2.0'

0 commit comments

Comments
 (0)