File tree Expand file tree Collapse file tree 2 files changed +29
-3451
lines changed
ibm_cloud_networking_services Expand file tree Collapse file tree 2 files changed +29
-3451
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,17 @@ cache: pip
6
6
7
7
matrix :
8
8
include :
9
- - python : 3.7
9
+ - python : 3.5
10
10
before_script :
11
11
- >-
12
12
[ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]
13
13
&& openssl aes-256-cbc -K $encrypted_3c84dcdc6bbe_key -iv $encrypted_3c84dcdc6bbe_iv -in .env.enc -out .env -d
14
14
&& openssl aes-256-cbc -K $encrypted_16de86179301_key -iv $encrypted_16de86179301_iv -in .transit_env.enc -out .transit_env -d
15
15
&& openssl aes-256-cbc -K $encrypted_b4d7fa377f59_key -iv $encrypted_b4d7fa377f59_iv -in .dl_env.enc -out .dl_env -d
16
16
|| true
17
+ - python : 3.6
18
+ - python : 3.7
19
+ - python : 3.8
17
20
18
21
before_install :
19
22
- npm install npm@latest -g
@@ -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