forked from Tazmainiandevil/TableStorage.Abstractions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (35 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
version: 2.0.{build}
os: Visual Studio 2019
configuration: Release
# enable version patching with build version number
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
# temporary workaround for getting Azure Storage Emulator 5.2 installed
install:
- ps: |
$msiPath = "$env:TEMP\MicrosoftAzureStorageEmulator.msi"
(New-Object Net.WebClient).DownloadFile('https://go.microsoft.com/fwlink/?linkid=717179&clcid=0x409', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet
del $msiPath
# restore NuGet packages before running
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore --verbosity m
# Prepare localdb
- cmd: SqlLocalDB.exe create MSSQLLocalDB
- cmd: SqlLocalDB.exe start MSSQLLocalDB
- cmd: SqlLocalDB.exe info MSSQLLocalDB
# Start the azure storage emulator
- '"%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start'
build:
verbosity: minimal
test_script:
- cd tests\TableStorage.Abstractions.Tests
- dotnet test