-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add node-pre-gyp support for prebuilt binaries (#278)
- Loading branch information
1 parent
6191bb9
commit a5ecd97
Showing
4 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
environment: | ||
matrix: | ||
- nodejs_version: "0.10" | ||
platform: x64 | ||
- nodejs_version: "0.10" | ||
platform: x86 | ||
- nodejs_version: "0.12" | ||
platform: x64 | ||
- nodejs_version: "0.12" | ||
platform: x86 | ||
- nodejs_version: "4" | ||
platform: x64 | ||
- nodejs_version: "4" | ||
platform: x86 | ||
- nodejs_version: "5" | ||
platform: x64 | ||
- nodejs_version: "5" | ||
platform: x86 | ||
- nodejs_version: "6" | ||
platform: x64 | ||
- nodejs_version: "6" | ||
platform: x86 | ||
|
||
install: | ||
- where npm | ||
- where node | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
- for /f "delims=" %%a in ('where npm') do cd %%a\.. && npm install npm@latest | ||
- for /f "delims=" %%a in ('where npm') do cd %%a\.. && npm install node-pre-gyp@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: package.json | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm test | ||
|
||
after_test: | ||
- node-pre-gyp package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters