From f330d3e4053d62584ec4dc1d7a1549fd4170eb00 Mon Sep 17 00:00:00 2001 From: Mark Mikofski Date: Wed, 15 Feb 2017 15:22:54 -0800 Subject: [PATCH] add deploy --- .travis.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2b6f2bf..7e64c1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,17 @@ before_install: script: - pytest - python setup.py bdist_wheel - +deploy: + - provider: releases + api_key: $GITHUB_OAUTH_TOKEN + file: dist/*.whl + file_glob: true + skip_cleanup: true + on: + tags: true + - provider: pypi + user: bwanamarko + password: $PYPI_PASSWORD + distributions: "sdist bdist_wheel" # Your distributions here + on: + tags: true