Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Commit

Permalink
Manually install nvm and node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ash2k committed Nov 12, 2015
1 parent 18fcf3b commit 6447ed9
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
language: node_js
node_js:
- "0.12"
- 4
- 5
- iojs-v2
- iojs-v3
env:
matrix:
- export NODE_VERSION="0.12"
- export NODE_VERSION="4"
- export NODE_VERSION="5"
- export NODE_VERSION="iojs-v2"
- export NODE_VERSION="iojs-v3"
os:
- linux
- osx
- linux
- osx
before_install:
- "[ $TRAVIS_OS_NAME=osx ] && brew update"
- "[ $TRAVIS_OS_NAME=osx ] && (brew outdated nvm || brew upgrade nvm)"
- "if [ \"$TRAVIS_OS_NAME\" == 'osx' ]; then
brew update;
brew install nvm;
fi;
nvm install \"$NODE_VERSION\""
install:
- npm install
script:
- npm test
after_success:
- npm run coveralls
- npm run coveralls

0 comments on commit 6447ed9

Please sign in to comment.