From da102bef379b0a7026ffefcc2e2f9330a1358ee0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 18 Apr 2020 14:57:34 +0100 Subject: Upload wheels using twine --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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" -- cgit v1.2.3