diff options
| author | Michael Williamson <mike@zwobble.org> | 2020-04-18 14:57:34 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2020-04-18 14:57:34 +0100 |
| commit | da102bef379b0a7026ffefcc2e2f9330a1358ee0 (patch) | |
| tree | 1ed5ddb2047bad3578e255a965c7e89dc1b77b77 | |
| parent | ffacae17b9cb5a19dcbc7049e7e65d42926c4f97 (diff) | |
Upload wheels using twine
| -rw-r--r-- | .travis.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 117da94..815999d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ jobs: - export CIBW_TEST_COMMAND="nosetests {project}/tests" - python3 -m cibuildwheel --output-dir wheelhouse - twine check wheelhouse/* + - twine upload wheelhouse/*.whl - if: tag =~ /^([0-9]+\.[0-9]+\.[0-9]+)(\.(dev|a|b|rc)[0-9]+)?$/ name: "OS X wheels" @@ -38,6 +39,12 @@ jobs: - export CIBW_TEST_COMMAND="nosetests {project}/tests" - python3 -m cibuildwheel --output-dir wheelhouse - twine check wheelhouse/* + - twine upload wheelhouse/*.whl + +env: + global: + - TWINE_USERNAME=__token__ + # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings install: - "make jq.c" |
