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

Commit

Permalink
Merge pull request #41 from unbornchikken/iojs3
Browse files Browse the repository at this point in the history
io.js 3 / node 4 / nan 2.1 support (DONE)
  • Loading branch information
Sam Shull committed Oct 10, 2015
2 parents 2bd312b + 80ea469 commit 9b6c645
Show file tree
Hide file tree
Showing 5 changed files with 658 additions and 510 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.node
src/build
src/.lock-wscript
Expand Down
40 changes: 34 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
language: "node_js"
node_js:
- '0.8'
- '0.10'
- '0.11'
script: node test/test.js
os:
- linux
- osx
sudo: false
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
matrix:
- TRAVIS_NODE_VERSION="0.10"
- TRAVIS_NODE_VERSION="0.12"
- TRAVIS_NODE_VERSION="2"
- TRAVIS_NODE_VERSION="4"

install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version
- PATH="`npm bin`:`npm bin -g`:$PATH"
# Node 0.8 comes with a too obsolete npm
- if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g [email protected] ; fi
# Install dependencies and build
- npm install

script:
# Output useful info for debugging
- node --version
- npm --version
# Run tests
- node test/test.js
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
"interceptor",
"proxy",
"overload",
"__noSuchMethod__"
"__noSuchMethod__",
"es6"
],
"dependencies": {
"bindings": "1.1.x",
"nan": "^1.7.0"
"bindings": "1",
"nan": "^2.1.0"
},
"contributors": [
"Sam Shull <http://www.google.com/profiles/brickysam26>",
"richardms <https://github.com/richardms>",
"Andreas Botsikas <http://webinos.org/bio-andreas-botsikas/>",
"Kenneth Bentley <[email protected]>"
"Kenneth Bentley <[email protected]>",
"Gabor Mezo <https://github.com/unbornchikken>"
],
"licenses": [
{
Expand Down
Loading

0 comments on commit 9b6c645

Please sign in to comment.