Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
use n instead of nvm for working iojs support
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Mar 22, 2015
1 parent 4919697 commit b57827c
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
language: node_js
node_js:
- "0.10"
branches:
only:
- master
notifications:
email:
- rod@vagg.org
script: npm test
language: c

before_install:
- npm install -g npm@latest
- rm -rf ~/.nvm
- wget https://raw.githubusercontent.com/visionmedia/n/master/bin/n -qO n
- chmod +x n
- sudo cp n /usr/local/bin/n
- sudo chmod -R a+xw /usr/local
- n --version

script:
- n 0.10
- node -v; which node; npm -v; which npm
- JOBS=max npm install
- npm test && rm -rf node_modules/

- n latest
- node -v; which node; npm -v; which npm
- JOBS=max npm install
- npm test && rm -rf node_modules/

- n io latest
- iojs -v; which iojs; npm -v; which npm
- JOBS=max npm install
- npm test

notifications:
email:
- rod@vagg.org
- ralphtheninja@riseup.net

0 comments on commit b57827c

Please sign in to comment.