File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ cache: pip
66
77matrix :
88 include :
9+ - python : 3.5
10+ - python : 3.6
911 - python : 3.7
12+ - python : 3.8
1013 before_script :
1114 - >-
1215 [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]
@@ -25,3 +28,28 @@ install:
2528 - pip install tox-travis
2629
2730script : tox
31+
32+ before_deploy :
33+ - pip install bump2version
34+ - nvm install 12
35+ - npm install @semantic-release/changelog
36+ - npm install @semantic-release/exec
37+ - npm install @semantic-release/git
38+ - npm install @semantic-release/github
39+
40+ deploy :
41+ - provider : script
42+ script : npx semantic-release
43+ skip_cleanup : true
44+ on :
45+ python : ' 3.5'
46+ branch : master
47+
48+ - provider : pypi
49+ user : __token__
50+ password : $PYPI_TOKEN
51+ repository : https://upload.pypi.org/legacy
52+ skip_cleanup : true
53+ on :
54+ python : ' 3.5'
55+ tags : true
You can’t perform that action at this time.
0 commit comments