forked from prisma/tiberius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (30 loc) · 1 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
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
MSSQL: SQL2016
INSTANCE: MSSQL13.SQL2016
TIBERIUS_TEST_INSTANCE: SQL2016
- TARGET: i686-pc-windows-msvc
MSSQL: SQL2014
INSTANCE: MSSQL12.SQL2014
TIBERIUS_TEST_INSTANCE: SQL2014
- TARGET: i686-pc-windows-gnu
MSSQL: SQL2012SP1
INSTANCE: MSSQL11.SQL2012SP1
TIBERIUS_TEST_INSTANCE: SQL2012SP1
- TARGET: x86_64-pc-windows-gnu
MSSQL: SQL2008R2SP2
INSTANCE: MSSQL10_50.SQL2008R2SP2
TIBERIUS_TEST_INSTANCE: SQL2008R2SP2
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- SET PATH=%PATH%;C:\MinGW\bin
- rustc -V
- cargo -V
- ps: .\appveyor.ps1 ${env:MSSQL} ${env:INSTANCE}
build: false
test_script:
- cargo test --target %TARGET% --all
- IF "%MSSQL%" == "SQL2016" cd tiberius && cargo test --no-default-features