Skip to content

Commit

Permalink
Travis: update node version
Browse files Browse the repository at this point in the history
* Use .nvmrc in example folder to declare node version.
* Update to latest LTS (v14)
  • Loading branch information
yookoala committed Sep 9, 2020
1 parent 90e06e3 commit 88cf713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ before_script:
- which pip3 && pip3 --version
- pip3 install -r example/python3/requirements.txt
# for nodejs tests
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
- nvm install 8 && npm install -g yarn
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
- cd ./example/nodejs && nvm install && npm install -g yarn && cd ../..
- cd ./example/nodejs && yarn install && cd ../..
# for go modules download, if applicable
- go mod download -x || go mod download || go version
Expand Down
1 change: 1 addition & 0 deletions example/nodejs/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14

0 comments on commit 88cf713

Please sign in to comment.