File tree Expand file tree Collapse file tree 7 files changed +33
-21
lines changed Expand file tree Collapse file tree 7 files changed +33
-21
lines changed Original file line number Diff line number Diff line change
1
+ .travis.yml
2
+ appveyor.yml
3
+ test.bat
Original file line number Diff line number Diff line change 9
9
global :
10
10
- secure : ER5LYPXeYbQz8IH7IFlEOdiUFhQZ/he6MBiKgAQlUEaY+aF48Ypd9FaXue0R6OPxqBoTVA6rFixdiAZk7U0wB9wTzyABWWUBEmFO7WMbDWfFp4cOTbtHGQREBotYv0vaC8L+qgRDqtM0ASGm8/i8duRM1ICQ7n3N01ezAlMTu8I=
11
11
- secure : hlJfOM3VG9xYFQ+TrGWgIc5H2zowRGJBtIm710Mg5JQ4F6tpz7wzIZ+MpynGOklD8ltuLhUUSmf+doejVzCiRRADqF2ubjTRWafyqfz8p5nESz0ovw4g+rQuOOt3S4FbmKiHCZtoYEqn1N47GIaN06ucakK+rvS2DANgpSwOLPI=
12
- cache :
13
- directories :
14
- - node_modules
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ npm test
19
19
20
20
bson-ext uses [ node-pre-gyp] ( http://npm.im/node-pre-gyp ) to publish and install
21
21
prebuilt binaries. This means you don't need the full toolchain installed
22
- and configured correctly to use this module.
22
+ and configured correctly to use this module.
23
23
24
24
## License
25
25
Original file line number Diff line number Diff line change @@ -8,27 +8,17 @@ environment:
8
8
matrix :
9
9
- nodejs_version : 0.10
10
10
- nodejs_version : 0.12
11
- - nodejs_version : 1.x
11
+ - nodejs_version : " 1 "
12
12
13
13
platform :
14
14
- x86
15
15
- x64
16
16
17
17
install :
18
18
- ps : Install-Product node $env:nodejs_version
19
- - npm install --build-from-source
19
+ - ps : Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
20
20
21
21
test_script :
22
- - node --version
23
- - npm --version
24
- - npm test
25
-
26
- matrix :
27
- fast_finish : true
28
-
29
- cache :
30
- - C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json # global npm modules
31
- - C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
32
- - node_modules -> package.json # local npm modules
22
+ - .\test.bat
33
23
34
24
build : OFF
Original file line number Diff line number Diff line change 1
1
{
2
2
'targets' : [
3
3
{
4
+ 'win_delay_load_hook' : 'true' ,
4
5
'target_name' : 'bson' ,
5
6
'sources' : [ 'ext/bson.cc' ],
6
7
'cflags!' : [ '-fno-exceptions' ],
11
12
'xcode_settings' : {
12
13
'GCC_ENABLE_CPP_EXCEPTIONS' : 'YES'
13
14
}
15
+ }],
16
+ ['OS=="win"' , {
17
+ 'configurations' : {
18
+ 'Release' : {
19
+ 'msvs_settings' : {
20
+ 'VCCLCompilerTool' : {
21
+ 'ExceptionHandling' : 1
22
+ }
23
+ }
24
+ }
25
+ }
14
26
}]
15
27
]
16
28
}
Original file line number Diff line number Diff line change 19
19
},
20
20
"dependencies" : {
21
21
"nan" : " ~1.7.0" ,
22
- "node-pre-gyp" : " mongodb-js/node-pre-gyp"
22
+ "node-pre-gyp" : " https://github.com/ mongodb-js/node-pre-gyp/archive/v0.6.5-appveyor.tar.gz "
23
23
},
24
+ "bundledDependecies" : [
25
+ " node-pre-gyp"
26
+ ],
24
27
"devDependencies" : {
25
28
"aws-sdk" : " ~2.1.20" ,
26
29
"nodeunit" : " ~0.9.0"
27
30
},
28
- "bundledDependencies" : [
29
- " node-pre-gyp"
30
- ],
31
31
"main" : " ./index" ,
32
32
"directories" : {
33
33
"lib" : " ./lib/bson"
Original file line number Diff line number Diff line change
1
+ call node --version
2
+ call npm --version
3
+ SET GYP_MSVS_VERSION = 2013
4
+ SET PATH = %PATH% ;%APPDATA% \npm
5
+ SET PATH = %PATH% ;C:\Program Files (x86)\Git\bin
6
+ SET PATH = %PATH% ;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
7
+ call npm install https://github.com/mongodb-js/node-pre-gyp/archive/v0.6.5-appveyor.tar.gz
8
+ call npm install https://github.com/mongodb-js/node-gyp/archive/v1.04-appveyor.tar.gz
9
+ call npm install --build-from-source
10
+ call npm test
You can’t perform that action at this time.
0 commit comments