Skip to content

Commit d7c7fe0

Browse files
committed
skip deploy cleanup
1 parent 89ed119 commit d7c7fe0

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ python:
66
- "2.7"
77
- "3.4"
88
- "3.5"
9-
- "3.6"
109
- "3.7"
10+
# 3.6 handled during code coverage
1111

1212
env:
1313
- PYTHONPATH=$PYTHONPATH:./src
@@ -20,41 +20,43 @@ script:
2020

2121
jobs:
2222
include:
23-
- stage: upload test coverage
23+
- stage: upload codecov results
24+
python: 3.6
2425
install:
2526
- pip install pytest pytest-cov codecov
2627
- pip install -r test_requirements.txt
2728
script:
2829
- pytest --cov=./
2930
- codecov
3031

31-
- stage: deploy documentation
32+
- stage: deploy release
3233
if: tag is present
3334
python: 3.6
3435
install: pip install sphinx
3536
script:
3637
- sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
3738
- touch ./doc/_build/html/.nojekyll
38-
- pushd ./doc/_build/html ; zip -r ../../../doc . ; popd
39+
- pushd ./doc/_build/html ; zip -r ../../../${TRAVIS_TAG} . ; popd
3940
- ls -la .
4041
deploy:
4142
provider: pages
4243
skip_cleanup: true
4344
github_token: $GITHUB_TOKEN
44-
keep_history: true
45+
keep_history: false
4546
local_dir: ./doc/_build/html
4647
on:
4748
tags: true
4849
deploy:
4950
provider: releases
51+
skip_cleanup: true
5052
api_key: $GITHUB_TOKEN
5153
files:
52-
- ./doc.zip
54+
- doc.zip
5355
draft: true
5456
on:
5557
tags: true
5658

57-
- stage: test package deployment
59+
- stage: deploy to PyPI (Test)
5860
if: tag is present
5961
script: # Cancel out default script
6062
-

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.6-alpha1'
7+
__version__ = '0.9.6-alpha2'
88
__author__ = 'SAS'
99
__credits__ = ['Lucas De Paula, Peter Tobac, Jon Walker']
1010
__license__ = 'Apache 2.0'

0 commit comments

Comments
 (0)