Skip to content

Commit a7845b6

Browse files
reggeenrGitHub Enterprise
authored andcommitted
fix(build): adjusted semantic-release config (#5)
1 parent 7b0e965 commit a7845b6

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ before_deploy:
3838
- pip install bump2version
3939

4040
deploy:
41+
# Use semantic release to create a tag and release on each commit to the main branch
4142
- provider: script
4243
script: npm run semantic-release
4344
skip_cleanup: true
4445
on:
45-
branch: main
46-
tags: true
46+
branch: main

.travis_public.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ notifications:
1414

1515
matrix:
1616
include:
17-
- python: 3.7
18-
- python: 3.8
19-
- python: 3.9
20-
- python: 3.10
17+
- python: '3.7'
18+
- python: '3.8'
19+
- python: '3.9'
20+
- python: '3.10'
2121

2222
install:
2323
- sudo apt-get update
@@ -29,23 +29,12 @@ install:
2929
script:
3030
- make ci
3131

32-
before_deploy:
33-
- nvm install 14
34-
- npm install
35-
- pip install bump2version
36-
3732
deploy:
38-
- provider: script
39-
script: npm run semantic-release
40-
skip_cleanup: true
41-
on:
42-
python: '3.7'
43-
branch: main
4433
- provider: pypi
4534
user: __token__
4635
password: $PYPI_TOKEN
4736
repository: https://upload.pypi.org/legacy
4837
skip_cleanup: true
4938
on:
50-
python: '3.7'
39+
python: '3.10'
5140
tags: true

0 commit comments

Comments
 (0)