-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from ralphtheninja/master
make tests work with iojs
- Loading branch information
Showing
1 changed file
with
34 additions
and
6 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,23 +1,51 @@ | ||
language: node_js | ||
node_js: | ||
- "0.8" | ||
- "0.10" | ||
language: c | ||
|
||
before_install: | ||
- 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 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
script: | ||
- n io latest | ||
- iojs -v; npm -v; | ||
- JOBS=max npm install | ||
- npm test && rm -rf node_modules/ | ||
|
||
- n latest | ||
- node -v; npm -v; | ||
- JOBS=max npm install | ||
- npm test && rm -rf node_modules/ | ||
|
||
- n 0.10 | ||
- node -v; npm -v; | ||
- JOBS=max npm install | ||
- npm test && rm -rf node_modules/ | ||
|
||
- n 0.8 | ||
- npm install npm -g | ||
- node -v; npm -v; | ||
- JOBS=max npm install | ||
- npm test && rm -rf node_modules/ | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
script: npm test |