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
6
6
7
7
matrix :
8
8
include :
9
+ - python : 3.5
10
+ - python : 3.6
9
11
- python : 3.7
12
+ - python : 3.8
10
13
before_script :
11
14
- >-
12
15
[ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]
@@ -25,3 +28,28 @@ install:
25
28
- pip install tox-travis
26
29
27
30
script : 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