Skip to content

Commit 96729c6

Browse files
authored
Merge pull request #493 from eriknw/pypi_api_token
Add PyPI API token for automatic upload of new versions (inc. wheels).
2 parents acce4cd + 57d62fe commit 96729c6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ python:
1010
- "pypy3.6-7.1.1"
1111

1212
env:
13+
global:
1314
- PEP8_IGNORE="E731,W503,E402"
15+
- secure: "B1ICJrU2eswNMjyGdmq9Z6Tbw33fQTqnGAZnNf2JuhEPl5fiI0OiyyL18WqbdwkNan0dIM7muOkCGIecYB+FSjXI/zDIyO0MhdaMDVQUDEbjW7STZZUHNYzcqrrj/isc2YPl/YfrjLKvV0w0AtS1wIq+YR9TjYQp9UxqBpqW770="
16+
- secure: "Iv+zVkk/Relq43+QTLHAX8a7jpm/oVXVfJDqBmZjisblO0/toNNnoXI6OEjkd1QwZOUDkJ76rKsht9aeMllndKZ4XotuzxpP1iI6MrX+r9+hzI1xfJs2OqKDnxmtNV4fTlzhGTKXJbkSICjCfvWx20hFlgBB+NghcnQTW5GVw/w="
1417

1518
# command to install dependencies
1619
install:
@@ -40,8 +43,8 @@ deploy:
4043
skip_existing: true
4144
on:
4245
tags: true
43-
user: $PYPI_USER
44-
password: $PYPI_PASSWORD
46+
user: __token__
47+
password: $PYPI_PASSWORD1$PYPI_PASSWORD2
4548
distributions: "sdist bdist_wheel"
4649

4750
notifications:

0 commit comments

Comments
 (0)