Skip to content

Commit 9a0191e

Browse files
committed
Update CI
1 parent 04683ef commit 9a0191e

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.travis.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,18 @@ jobs:
3030
- pip install black
3131
script:
3232
- black --check --diff .
33-
34-
deploy:
35-
- provider: pypi
36-
user: $PYPI_USERNAME
37-
password: $PYPI_PASSWORD
38-
on:
39-
tags: true
33+
- stage: deploy
34+
if: tag IS present
4035
python: "3.7"
36+
install: skip
37+
script: skip
38+
deploy:
39+
- provider: pypi
40+
user: $PYPI_USERNAME
41+
password: $PYPI_PASSWORD
42+
distributions: sdist bdist_wheel
43+
on:
44+
tags: true
4145

4246
notifications:
4347
webhooks:

0 commit comments

Comments
 (0)