Skip to content

Commit ef6dd6f

Browse files
committed
chore: enable travis deploy with semantic-release
1 parent 756a254 commit ef6dd6f

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.travis.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,26 @@ script:
3636
- pytest test
3737
- ./test-integration.sh
3838

39-
# before_deploy:
40-
# - pip install bump2version
41-
# - nvm install 12
42-
# - npm install @semantic-release/changelog
43-
# - npm install @semantic-release/exec
44-
# - npm install @semantic-release/git
45-
# - npm install @semantic-release/github
46-
47-
# deploy:
48-
# - provider: script
49-
# script: npx semantic-release
50-
# skip_cleanup: true
51-
# on:
52-
# python: '3.6'
53-
# branch: master
54-
# - provider: pypi
55-
# user: __token__
56-
# password: $PYPI_TOKEN
57-
# repository: https://upload.pypi.org/legacy
58-
# skip_cleanup: true
59-
# on:
60-
# python: '3.6'
61-
# tags: true
39+
before_deploy:
40+
- pip install bump2version
41+
- nvm install 12
42+
- npm install @semantic-release/changelog
43+
- npm install @semantic-release/exec
44+
- npm install @semantic-release/git
45+
- npm install @semantic-release/github
46+
47+
deploy:
48+
- provider: script
49+
script: npx semantic-release
50+
skip_cleanup: true
51+
on:
52+
python: '3.6'
53+
branch: master
54+
- provider: pypi
55+
user: __token__
56+
password: $PYPI_TOKEN
57+
repository: https://upload.pypi.org/legacy
58+
skip_cleanup: true
59+
on:
60+
python: '3.6'
61+
tags: true

0 commit comments

Comments
 (0)