Skip to content

Commit d01ad1d

Browse files
chore(build): bump node to 14 for new semantic-release version
1 parent de81ab8 commit d01ad1d

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.travis.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
language: python
22

3-
dist: xenial
3+
dist: bionic
44

55
cache: pip
66

7+
notifications:
8+
email: true
9+
710
matrix:
811
include:
912
- python: 3.6
@@ -20,32 +23,32 @@ matrix:
2023
- python: 3.9
2124

2225
before_install:
23-
- npm install npm@latest -g
24-
- sudo apt-get update
25-
- sudo apt-get install pandoc
26-
- pip install pypandoc
26+
- sudo apt-get update
27+
- sudo apt-get install pandoc
28+
- pip install pypandoc
29+
- echo -e "machine github.ibm.com\n login $GH_TOKEN" > ~/.netrc
2730

2831
install:
2932
- pip install tox-travis
3033

3134
script: tox
3235

3336
before_deploy:
34-
- pip install bump2version
35-
- nvm install 12
37+
- nvm install 14
38+
- npm install npm@latest -g
3639
- npm install @semantic-release/changelog
3740
- npm install @semantic-release/exec
3841
- npm install @semantic-release/git
3942
- npm install @semantic-release/github
43+
- pip install bump2version
4044

4145
deploy:
4246
- provider: script
4347
script: npx semantic-release
4448
skip_cleanup: true
4549
on:
4650
python: '3.6'
47-
branch: master
48-
51+
branch: main
4952
- provider: pypi
5053
user: __token__
5154
password: $PYPI_TOKEN

0 commit comments

Comments
 (0)