forked from lisong/code-push-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
30 lines (28 loc) · 831 Bytes
/
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
init:
- git config --global core.autocrlf input
environment:
matrix:
- nodejs_version: "7.5"
- nodejs_version: "7"
- nodejs_version: "6.9.5"
- nodejs_version: "6.1"
- nodejs_version: "6"
services:
- mysql
install:
- ps: Install-Product node $env:nodejs_version
- npm install npm@next
- cmd: nuget install redis-64 -excludeversion
- cmd: redis-64\tools\redis-server.exe --service-install
- cmd: redis-64\tools\redis-server.exe --service-start
# - if exist node_modules node_modules\.bin\npm prune
# - if exist node_modules node_modules\.bin\npm rebuild
- node_modules\.bin\npm install
test_script:
- node --version
- node_modules\.bin\npm --version
- set NODE_ENV=test
- set CONFIG_FILE=config/config.testwin.js
- node_modules\.bin\npm run test-win
build: off
version: "{build}"