From 29067d7561df703440a5b511c79056cb82e1bb1a Mon Sep 17 00:00:00 2001 From: mochic808 Date: Mon, 30 Jul 2018 10:30:27 -0700 Subject: [PATCH] first pass at adding continuous deployment through travis --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.travis.yml b/.travis.yml index 31e355f..b33f0b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 + user: + password: + secure: + distributions: sdist bdist_wheel + draft: false + prerelease: true + on: + tags: true + branch: production + \ No newline at end of file