Skip to content

Commit

Permalink
Add node.js v10 support (#603)
Browse files Browse the repository at this point in the history
Added node 10 to Travis and Appveyor

* conditional support for node v4 and v5 in travis.yml

* conditional support for node v4 and v5 appveyor.yml
  • Loading branch information
pauliusuza authored and recrsn committed May 3, 2018
1 parent 0a7e8ae commit 3fa97d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -14,6 +14,7 @@ node_js:
- "7"
- "8"
- "9"
- "10"

addons:
apt:
Expand All @@ -27,7 +28,7 @@ before_install:
- echo Building for Node $TRAVIS_NODE_VERSION
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=$LINUX_CXX; $CXX --version; fi;
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then c++ --version; fi;
- npm install -g npm@latest
- if [[ "$TRAVIS_NODE_VERSION" == "4" || "$TRAVIS_NODE_VERSION" == "5" ]]; then npm install -g npm@5; else npm install -g npm@latest; fi;

install: true

Expand Down
8 changes: 6 additions & 2 deletions appveyor.yml
Expand Up @@ -24,18 +24,22 @@ environment:
platform: x64
- nodejs_version: "9"
platform: x86
- nodejs_version: "10"
platform: x64
- nodejs_version: "10"
platform: x86

install:
- where npm
- where node
- ps: Install-Product node $env:nodejs_version $env:platform
- 'npm install -g npm@latest'
- 'if "%nodejs_version%" LEQ 5 (npm install -g npm@5) else (npm install -g npm@latest)'
- 'if "%nodejs_version%_%platform%" == "4_x86" (npm config set -g cafile=package.json && npm config set -g strict-ssl=false)'

build: off

artifacts:
- path: 'build/stage/**/bcrypt*.tar.gz'
- path: 'build/stage/**/bcrypt*.tar.gz'

test_script:
- node --version
Expand Down

0 comments on commit 3fa97d5

Please sign in to comment.