Skip to content

Commit 918849b

Browse files
committed
manual twine upload
1 parent fa99926 commit 918849b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.travis.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,19 @@ matrix:
7575
on:
7676
tags: true
7777

78-
78+
# Travis deploy: pypi settings started returning "Your build exited with 86."
79+
# Reverting to manual build and upload
7980
- stage: deploy to pypi
81+
python: 3.6
82+
install: pip install setuptools wheel twine
83+
env:
84+
- TWINE_USERNAME: "$PYPI_USERNAME"
85+
- TWINE_PASSWORD: "$PYPI_PASSWORD"
8086
script:
81-
-
82-
deploy:
83-
provider: pypi
84-
distributions: sdist bdist_wheel
85-
edge: true
86-
on:
87-
tags: true
87+
- python setup.py sdist bdist_wheel
88+
- python -m twine upload dist/*
89+
on:
90+
tags: true
8891

8992

9093
install:

0 commit comments

Comments
 (0)