Skip to content

Commit 61c8b50

Browse files
Surgomichaeljohnbarr
authored andcommitted
Setup push on deploy to pypi (#15)
* Setup push on deploy to pypi * Generate universal version of wheel
1 parent b87908e commit 61c8b50

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,15 @@ install:
4949
- pip install -U pip setuptools tox wheel
5050
script:
5151
- tox -e "${TOX_ENV}"
52+
deploy:
53+
provider: pypi
54+
user: Surgo
55+
password:
56+
secure: ECQgP3QvjNyqe7sqeKMHOu4wAAvuDobweIGfHXMuWmLer7FKJeCb0HhuSNzZjXXCdTiE1km7dSaYU1Uvb0aA8Zi29oOS0oR4qPVKFibNSqnWrc8WnPhvSCnK9cT6CtwSpK48KYqENHfKbr1SAR2vTX8J3NhwRqBB0aS6bCYEKWU=
57+
distributions: sdist bdist_wheel
58+
on:
59+
repo: michaeljohnbarr/django-timezone-utils
60+
tags: true
61+
condition: "$TOX_ENV = py37-dj21"
5262
notifications:
5363
email: false

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal = 1

0 commit comments

Comments
 (0)