Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Update travis to use latest nvm else it fails to get certain @types
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Jan 5, 2017
1 parent e73900f commit 63f2bdf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Expand Up @@ -19,6 +19,17 @@ before_install:
fi

install:
- TRAVIS_NODE_VERSION="6";
# Clear out whatever version of NVM Travis has as it is old.
- rm -rf ~/.nvm;
# Grab NVM.
- git clone https://github.com/creationix/nvm.git ~/.nvm;
# Checkout the latest stable tag.
# Note that you can just hardcode a preferred version here.
- (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`);
# Install the desired version of Node
- source ~/.nvm/nvm.sh;
- nvm install $TRAVIS_NODE_VERSION;
- npm install
- npm run vscode:prepublish
- go get -u -v github.com/nsf/gocode
Expand Down

0 comments on commit 63f2bdf

Please sign in to comment.