Skip to content

Commit d5ccb39

Browse files
author
Benjamin Coe
committed
add appveyor configuration
1 parent 71ea42f commit d5ccb39

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

appveyor.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# http://www.appveyor.com/docs/appveyor-yml
2+
3+
# Test against these versions of Node.js.
4+
environment:
5+
matrix:
6+
- nodejs_version: "0.10"
7+
- nodejs_version: "0.12"
8+
- nodejs_version: "3.0"
9+
- nodejs_version: "4.0"
10+
11+
# Install scripts. (runs after repo cloning)
12+
install:
13+
# Get the latest stable version of Node 0.STABLE.latest
14+
- ps: Install-Product node $env:nodejs_version
15+
# Typical npm stuff.
16+
- npm install
17+
18+
# Install Redis.
19+
before_build:
20+
- nuget restore .\Hangfire.Redis.StackExchange.sln
21+
- packages\Redis-32.2.6.12.1\tools\redis-server.exe --service-install
22+
- packages\Redis-32.2.6.12.1\tools\redis-server.exe --service-start
23+
- '@ECHO Redis Started'
24+
25+
# Post-install test scripts.
26+
test_script:
27+
# Output useful info for debugging.
28+
- node --version
29+
- npm --version
30+
# We test multiple Windows shells
31+
- ps: "npm t # PowerShell" # Pass comment to PS for easier debugging
32+
- cmd: npm t
33+
34+
os:
35+
- Default Azure
36+
- Windows Server 2012 R2
37+
38+
# Don't actually build using MSBuild
39+
build: off
40+
41+
# Set build version format here instead of in the admin panel.
42+
version: "{build}"

0 commit comments

Comments
 (0)