2017-04-04 20:42:30 +08:00
|
|
|
image: Visual Studio 2015
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
# - Toolset: v141
|
|
|
|
- Toolset: v140
|
|
|
|
- Toolset: v120
|
|
|
|
- Toolset: v110
|
|
|
|
- Toolset: v100
|
|
|
|
|
2017-03-29 06:11:33 +08:00
|
|
|
platform:
|
2017-04-11 07:35:10 +08:00
|
|
|
- x86
|
2017-04-11 04:34:59 +08:00
|
|
|
- x64
|
2017-03-29 06:11:33 +08:00
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
- Debug
|
|
|
|
|
|
|
|
build:
|
|
|
|
verbosity: minimal
|
|
|
|
project: mdbx.sln
|
|
|
|
|
2017-03-30 23:54:57 +08:00
|
|
|
test_script:
|
|
|
|
- ps: |
|
2017-04-11 04:34:59 +08:00
|
|
|
if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" -PathType Leaf)) {
|
2017-04-25 00:03:38 +08:00
|
|
|
$test = "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe"
|
2017-04-11 04:34:59 +08:00
|
|
|
} else {
|
2017-04-25 00:03:38 +08:00
|
|
|
$test = "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe"
|
2017-04-11 04:34:59 +08:00
|
|
|
}
|
2017-04-25 00:03:38 +08:00
|
|
|
& "$test" --pathname=tmp.db --dont-cleanup-after basic | Tee-Object -file test.log | Select-Object -last 42
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: test.log
|