File tree Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+ env :
3
+ - CXX=g++-4.8
2
4
os :
3
5
- linux
4
6
- osx
@@ -17,7 +19,6 @@ addons:
17
19
- g++-4.8
18
20
sudo : false
19
21
before_install :
20
- - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
21
22
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then export CXX=clang; fi
22
23
- $CXX --version
23
24
Original file line number Diff line number Diff line change 1
1
environment :
2
+ npm_version : latest
3
+ gyp_version : latest
4
+ pre_gyp_version : latest
2
5
github_release_token :
3
6
secure : en/UnoFHA3RsSAHM5c6zb3RAMa4V01lC3pYG1YrHSeOPFu78SUA/0lOjNe3pp8RG
4
7
matrix :
5
8
- nodejs_version : 0.10
9
+ npm_version : 4.0.3
10
+ gyp_version : 3.5.0
11
+ pre_gyp_version : 0.6.36
6
12
- nodejs_version : 0.12
13
+ npm_version : 4.0.3
14
+ gyp_version : 3.5.0
15
+ pre_gyp_version : 0.6.36
7
16
- nodejs_version : 4
8
17
- nodejs_version : 5
9
18
- nodejs_version : 6
@@ -22,11 +31,13 @@ artifacts:
22
31
23
32
install :
24
33
- ps : Install-Product node $env:nodejs_version $env:platform
34
+ - npm --version
25
35
- npm config set msvs_version 2015
26
36
- npm config set python C:\Python27\python.exe
27
- - npm install -g npm
28
- - npm install -g node-gyp
29
- - npm install -g node-pre-gyp
37
+ - npm install -g npm@%npm_version%
38
+ - npm --version
39
+ - npm install -g node-gyp@%gyp_version%
40
+ - npm install -g node-pre-gyp@%pre_gyp_version%
30
41
31
42
# work around an issue with node-gyp v3.3.1 and node 4x
32
43
# https://github.com/nodejs/node-gyp/issues/921
Original file line number Diff line number Diff line change 68
68
# node-gyp 2.x doesn't add this anymore
69
69
# https://github.com/TooTallNate/node-gyp/pull/612
70
70
'xcode_settings' : {
71
+ 'CLANG_CXX_LANGUAGE_STANDARD' : 'c++11' ,
71
72
'OTHER_LDFLAGS' : [
72
73
'-undefined dynamic_lookup'
73
74
],
Original file line number Diff line number Diff line change 12
12
"package_name" : " {node_abi}-{platform}-{arch}.tar.gz"
13
13
},
14
14
"description" : " libxml bindings for v8 javascript engine" ,
15
- "version" : " 0.18.6 " ,
15
+ "version" : " 0.18.7 " ,
16
16
"scripts" : {
17
17
"install" : " node-pre-gyp install --fallback-to-build --loglevel http" ,
18
18
"test" : " node --expose_gc ./node_modules/.bin/nodeunit test"
You can’t perform that action at this time.
0 commit comments