This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use n instead of nvm for working iojs support
- Loading branch information
1 parent
4919697
commit b57827c
Showing
1 changed file
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
- [email protected] | ||
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: | ||
- [email protected] | ||
- [email protected] |