forked from mysticmind/mysticmind-postgresembed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (27 loc) · 1.13 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
version: Build {build}
os: Visual Studio 2017
configuration: Release
skip_tags: true
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
TARGET_BUILD_VERSION: '1.1.3'
nuget:
disable_publish_on_pr: true
before_build:
- dotnet --info
- dotnet restore .\src\MysticMind.PostgresEmbed.sln
build_script:
- dotnet build .\src\MysticMind.PostgresEmbed.sln --configuration %CONFIGURATION% /p:Version=%TARGET_BUILD_VERSION%
after_build:
- dotnet pack .\src\MysticMind.PostgresEmbed --configuration %CONFIGURATION% /p:Version=%TARGET_BUILD_VERSION%
test_script:
- dotnet test .\src\MysticMind.PostgresEmbed.Tests\MysticMind.PostgresEmbed.Tests.csproj --configuration %CONFIGURATION% -f netcoreapp2.0
- dotnet test .\src\MysticMind.PostgresEmbed.Tests\MysticMind.PostgresEmbed.Tests.csproj --configuration %CONFIGURATION% -f net46
artifacts:
- path: '**\MysticMind.PostgresEmbed.*.nupkg' # find all NuGet packages recursively
# deploy:
# - provider: NuGet
# api_key:
# secure: 1XMgADnmiLunXwBT7K0CMDcHyoC5tUFE4Cf+X7VkuzoRZiWnIL2P9mP7oPEtGPHg
# skip_symbols: true