-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
48 lines (40 loc) · 1.15 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# http://www.appveyor.com/docs/appveyor-yml
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"
- nodejs_version: "LTS"
- nodejs_version: "Stable"
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 -g grunt-cli mocha
- grunt build
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- cmd: grunt test
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}"