Skip to content

Commit 5ca9deb

Browse files
authored
v0.18.7
* Fix AppVeyor builds on old Node versions * Try installing npm first * Try installing node last * Lock down node-pre-gyp version for older Node versions * Log NPM version after install * Try older NPM version * Put things back in order * Use `after_test` instead of `before_deploy` * v0.18.7
1 parent 8d6ba69 commit 5ca9deb

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
language: node_js
2+
env:
3+
- CXX=g++-4.8
24
os:
35
- linux
46
- osx
@@ -17,7 +19,6 @@ addons:
1719
- g++-4.8
1820
sudo: false
1921
before_install:
20-
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
2122
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then export CXX=clang; fi
2223
- $CXX --version
2324

appveyor.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
environment:
2+
npm_version: latest
3+
gyp_version: latest
4+
pre_gyp_version: latest
25
github_release_token:
36
secure: en/UnoFHA3RsSAHM5c6zb3RAMa4V01lC3pYG1YrHSeOPFu78SUA/0lOjNe3pp8RG
47
matrix:
58
- nodejs_version: 0.10
9+
npm_version: 4.0.3
10+
gyp_version: 3.5.0
11+
pre_gyp_version: 0.6.36
612
- nodejs_version: 0.12
13+
npm_version: 4.0.3
14+
gyp_version: 3.5.0
15+
pre_gyp_version: 0.6.36
716
- nodejs_version: 4
817
- nodejs_version: 5
918
- nodejs_version: 6
@@ -22,11 +31,13 @@ artifacts:
2231

2332
install:
2433
- ps: Install-Product node $env:nodejs_version $env:platform
34+
- npm --version
2535
- npm config set msvs_version 2015
2636
- 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%
3041

3142
# work around an issue with node-gyp v3.3.1 and node 4x
3243
# https://github.com/nodejs/node-gyp/issues/921

binding.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
# node-gyp 2.x doesn't add this anymore
6969
# https://github.com/TooTallNate/node-gyp/pull/612
7070
'xcode_settings': {
71+
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
7172
'OTHER_LDFLAGS': [
7273
'-undefined dynamic_lookup'
7374
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"package_name": "{node_abi}-{platform}-{arch}.tar.gz"
1313
},
1414
"description": "libxml bindings for v8 javascript engine",
15-
"version": "0.18.6",
15+
"version": "0.18.7",
1616
"scripts": {
1717
"install": "node-pre-gyp install --fallback-to-build --loglevel http",
1818
"test": "node --expose_gc ./node_modules/.bin/nodeunit test"

0 commit comments

Comments
 (0)