Skip to content

Commit f19fafb

Browse files
authored
Merge pull request #6 from glib-briia/master
Add support for node 10
2 parents ed84b2e + 6e2687d commit f19fafb

File tree

4 files changed

+29
-10
lines changed

4 files changed

+29
-10
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ os:
66

77
env:
88
matrix:
9+
- NODE_VERSION="10.15"
910
- NODE_VERSION="8.6"
1011
- NODE_VERSION="6.11"
1112
- NODE_VERSION="4.4"

appveyor.yml

+26-8
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,37 @@ version: 1.0-{build}
22
os: Visual Studio 2015
33
environment:
44
matrix:
5+
- nodejs_version: 10.15
6+
platform: x64
7+
npm_version: 6.4.1
8+
nan_version: 2.13.2
9+
pre_gyp_version: 0.12.0
510
- nodejs_version: 8.6
611
platform: x64
12+
npm_version: 6.4.1
13+
nan_version: 2.13.2
14+
pre_gyp_version: 0.12.0
715
- nodejs_version: 6.11
816
platform: x64
17+
npm_version: 6.4.1
18+
nan_version: 2.13.2
19+
pre_gyp_version: 0.12.0
920
- nodejs_version: 4.8
1021
platform: x64
22+
npm_version: 5.5.1
23+
nan_version: 2.7.0
24+
pre_gyp_version: 0.6.39
1125

1226
cache:
1327
- '%APPDATA%\npm-cache'
1428
install:
1529
- ps: Install-Product node $env:nodejs_version $env:platform
1630
# Upgrade npm
1731
# - npm install -g npm
18-
- npm install -g npm@5.5.1
32+
- npm install -g npm@%npm_version%
1933
- set PATH=%APPDATA%\npm;%PATH%
20-
- npm i nan@2.7.0
21-
- npm install -g node-pre-gyp@0.6.39
34+
- npm i nan@%nan_version%
35+
- npm install -g node-pre-gyp@%pre_gyp_version%
2236
- npm install -g node-pre-gyp-github
2337

2438
build_script:
@@ -29,8 +43,12 @@ test: off
2943
artifacts:
3044
- path: .\build\stage
3145
on_success:
32-
- git config --global credential.helper store
33-
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:NODE_PRE_GYP_GITHUB_TOKEN):[email protected]`n"
34-
- git config --global user.email "[email protected]"
35-
- git config --global user.name "MatthD"
36-
- node-pre-gyp-github publish --release
46+
- ps: |
47+
if ($env:NODE_PRE_GYP_GITHUB_TOKEN)
48+
{
49+
git config --global credential.helper store
50+
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:NODE_PRE_GYP_GITHUB_TOKEN):[email protected]`n"
51+
git config --global user.email "[email protected]"
52+
git config --global user.name "MatthD"
53+
node-pre-gyp-github publish --release
54+
}

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-libxml",
3-
"version": "3.2.3",
3+
"version": "3.2.4",
44
"description": "Check Wellformed, DTD validity & get Xpath from pure node addons",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)