Skip to content

Commit d82cb6f

Browse files
Merge pull request #42 from IBM/travis
chore(build): bump node to 14 for new semantic-release version
2 parents 737d64f + 4158070 commit d82cb6f

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.travis.yml

Lines changed: 11 additions & 8 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,23 +23,24 @@ 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
@@ -45,7 +49,6 @@ deploy:
4549
on:
4650
python: '3.6'
4751
branch: master
48-
4952
- provider: pypi
5053
user: __token__
5154
password: $PYPI_TOKEN

0 commit comments

Comments
 (0)