Skip to content

Commit 9925f39

Browse files
committed
Configure Travis CI testing
1 parent 4a3a335 commit 9925f39

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
node_js:
3+
- 4
4+
- "0.12"
5+
- "0.10"
6+
addons:
7+
apt:
8+
sources:
9+
- ubuntu-toolchain-r-test
10+
packages:
11+
- gcc-4.9
12+
- g++-4.9
13+
before_install:
14+
- export CC="gcc-4.9" CXX="g++-4.9"

crypt3.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NAN_METHOD(Method) {
2525
if (res != NULL) {
2626
info.GetReturnValue().Set(Nan::New<String>(res).ToLocalChecked());
2727
} else {
28-
return Nan::ThrowError(Nan::NanErrnoException(errno, "crypt"));
28+
return Nan::ThrowError(Nan::ErrnoException(errno, "crypt"));
2929
}
3030
}
3131

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"blowfish",
2121
"hash"
2222
],
23-
"dependencies": { "nan": "^2.0.9" },
23+
"dependencies": { "nan": "^2.1.0" },
2424
"author": "Jaakko-Heikki Heusala <jheusala@iki.fi>",
2525
"license": "MIT",
2626
"gypfile": true

0 commit comments

Comments
 (0)