Skip to content

Commit ba4dbce

Browse files
committed
Add PyPI API token for automatic upload of new versions (inc. wheels).
This completes the work from: #487 Hopefully this works!
1 parent acce4cd commit ba4dbce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ python:
1111

1212
env:
1313
- PEP8_IGNORE="E731,W503,E402"
14+
- secure: "B1ICJrU2eswNMjyGdmq9Z6Tbw33fQTqnGAZnNf2JuhEPl5fiI0OiyyL18WqbdwkNan0dIM7muOkCGIecYB+FSjXI/zDIyO0MhdaMDVQUDEbjW7STZZUHNYzcqrrj/isc2YPl/YfrjLKvV0w0AtS1wIq+YR9TjYQp9UxqBpqW770="
15+
- secure: "Iv+zVkk/Relq43+QTLHAX8a7jpm/oVXVfJDqBmZjisblO0/toNNnoXI6OEjkd1QwZOUDkJ76rKsht9aeMllndKZ4XotuzxpP1iI6MrX+r9+hzI1xfJs2OqKDnxmtNV4fTlzhGTKXJbkSICjCfvWx20hFlgBB+NghcnQTW5GVw/w="
1416

1517
# command to install dependencies
1618
install:
@@ -40,8 +42,8 @@ deploy:
4042
skip_existing: true
4143
on:
4244
tags: true
43-
user: $PYPI_USER
44-
password: $PYPI_PASSWORD
45+
user: __token__
46+
password: $PYPI_PASSWORD1$PYPI_PASSWORD2
4547
distributions: "sdist bdist_wheel"
4648

4749
notifications:

0 commit comments

Comments
 (0)