Skip to content

Commit

Permalink
first pass at adding continuous deployment through travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mochic committed Jul 30, 2018
1 parent 9a59864 commit 8a08f24
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,26 @@ install:
- "pip install -r requirements.txt"
script:
- "py.test --cov=tusclient"
deploy:
- provider: releases
tag: $TRAVIS_TAG
api_key: $GITHUB_TOKEN
file_glob: true
file: "dist/*"
skip_cleanup: true
draft: false
prerelease: true
on:
tags: true
branch: production
- provider: pypi
username: <USERNAME>
password:
secure: <ENCRYPTED_PASSWORD>
distributions: sdist bdist_wheel
draft: false
prerelease: true
on:
tags: true
branch: production

0 comments on commit 8a08f24

Please sign in to comment.