Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.2.4"
language: c++
env:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Do we want to test on iojs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arturadib removed that a couple days ago, so I left it out

- NODE_VERSION="0.10"
- NODE_VERSION="0.11"
- NODE_VERSION="0.12"
- NODE_VERSION="4"
- NODE_VERSION="5"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NVM has a special keyword: stable, which automagically gets the latest version of node. We should add that too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the github page for nvm:

stable: this alias is deprecated, and only truly applies to node v0.12 and earlier. Currently, this is an alias for node.

Should we still use it? We already have v0.12

# keep this blank to make sure there are no before_install steps
before_install:

install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm install
os:
- linux
- osx
script:
- npm test