-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added automated windows test via appveyor
- Loading branch information
Showing
1 changed file
with
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# http://www.appveyor.com/docs/appveyor-yml | ||
|
||
# Test against these versions of Node.js. | ||
environment: | ||
matrix: | ||
- nodejs_version: "0.10" | ||
- nodejs_version: "0.12" | ||
- nodejs_version: "4" | ||
- nodejs_version: "5" | ||
|
||
pull_requests: | ||
do_not_increment_build_number: true | ||
|
||
platform: Any CPU | ||
shallow_clone: true | ||
|
||
# Install scripts. (runs after repo cloning) | ||
install: | ||
# Install the Redis | ||
- nuget install redis-64 -excludeversion | ||
- redis-64\tools\redis-server.exe --service-install | ||
- redis-64\tools\redis-server.exe --service-start | ||
- '@ECHO Redis Started' | ||
# Get the latest stable version of Node 0.STABLE.latest | ||
- ps: Install-Product node $env:nodejs_version | ||
# Typical npm stuff. Use msvs 2013 for the hiredis parser | ||
- npm install | ||
- npm install hiredis --msvs_version=2013 | ||
- npm install grunt-cli | ||
- grunt build | ||
|
||
# Post-install test scripts. | ||
test_script: | ||
# Output useful info for debugging. | ||
- node --version | ||
- npm --version | ||
- cmd: npm t | ||
|
||
os: | ||
- Default Azure | ||
- Windows Server 2012 R2 | ||
|
||
# Don't actually build using MSBuild | ||
build: off | ||
|
||
# Set build version format here instead of in the admin panel. | ||
version: "{build}" |