Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from prebuild/appveyor
adds appveyor config
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 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
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,39 @@ | ||
# http://www.appveyor.com/docs/appveyor-yml | ||
|
||
# Don't actually build | ||
build: off | ||
|
||
# Skip tag builds | ||
skip_tags: true | ||
|
||
# Set build version format | ||
version: "{build}" | ||
|
||
# Set up build environment | ||
environment: | ||
# Test against these versions of Node.js | ||
matrix: | ||
- nodejs_version: "9" | ||
- nodejs_version: "8" | ||
- nodejs_version: "6" | ||
- nodejs_version: "4" | ||
|
||
# Build on both platforms | ||
platform: | ||
- x86 | ||
- x64 | ||
|
||
# Install scripts (runs after repo cloning) | ||
install: | ||
# Get the latest version of $env:nodejs_version | ||
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform | ||
# Output useful info for debugging | ||
- node --version | ||
- npm --version | ||
# Install modules | ||
- npm install | ||
|
||
# Post-install test scripts | ||
test_script: | ||
# Run module tests | ||
- npm test |
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