forked from tediousjs/node-mssql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (37 loc) · 1.19 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
version: "{build}"
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "5"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
- npm install tds
- npm install msnodesqlv8
build: off
before_test:
- sc config sqlbrowser start= auto
- net start sqlbrowser
test_script:
- node --version
- npm --version
- cmd: |
SET EXITVAL=0
powershell %cd%\test\scripts\appveyor.ps1 SQL2008R2SP2
npm run-script test-tedious || SET EXITVAL=1
npm run-script test-tds || SET EXITVAL=1
npm run-script test-msnodesql || SET EXITVAL=1
net stop MSSQL$SQL2008R2SP2
powershell %cd%\test\scripts\appveyor.ps1 SQL2012SP1
npm run-script test-tedious || SET EXITVAL=1
npm run-script test-tds || SET EXITVAL=1
npm run-script test-msnodesql || SET EXITVAL=1
net stop MSSQL$SQL2012SP1
powershell %cd%\test\scripts\appveyor.ps1 SQL2014
npm run-script test-tedious || SET EXITVAL=1
npm run-script test-tds || SET EXITVAL=1
npm run-script test-msnodesql || SET EXITVAL=1
net stop MSSQL$SQL2014
EXIT /B %EXITVAL%