Skip to content

Commit 1a70bcf

Browse files
committed
deploy on tag manually
1 parent 63c428f commit 1a70bcf

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ python:
66
- 3.7
77
- 3.8
88
- 3.8-dev
9-
- nightly
109

1110
cache: apt
1211

@@ -36,14 +35,12 @@ script:
3635
jobs:
3736
include:
3837
- stage: deploy
39-
before_deploy:
38+
if: tag IS present AND repo = rmorshea/idom
39+
python: 3.6
40+
script:
4041
- sudo apt update
4142
# javascript dependencies
4243
- sudo apt install nodejs
4344
- npm install -g yarn
44-
deploy:
45-
provider: pypi
46-
distributions: "bdist_wheel"
47-
on:
48-
repo: rmorshea/idom
49-
tags: true
45+
- python setup.py bdist_wheel
46+
- twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD

0 commit comments

Comments
 (0)