forked from tediousjs/tedious
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
39 lines (27 loc) · 873 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
31
32
33
34
35
36
37
38
39
version: "{build}"
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.11"
- nodejs_version: "1.1.0"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
build: off
before_test:
- sc config sqlbrowser start= auto
- net start sqlbrowser
- mkdir C:\Users\appveyor\.tedious
test_script:
- node --version
- npm --version
- cmd: |
SET EXITVAL=0
npm run-script test || SET EXITVAL=1
powershell %cd%\scripts\appveyor\config.ps1 SQL2008R2SP2
npm run-script test-integration || SET EXITVAL=1
powershell %cd%\scripts\appveyor\config.ps1 SQL2012SP1
npm run-script test-integration || SET EXITVAL=1
powershell %cd%\scripts\appveyor\config.ps1 SQL2014
npm run-script test-integration || SET EXITVAL=1
EXIT /B %EXITVAL%