-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
35 lines (35 loc) · 1.07 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
configuration: Release
init:
- git config --global core.autocrlf true
before_build:
- dotnet restore
# Will build dependencies in release (optimize and portable pdbs) mode:
build_script:
- cmd: for /f %%a in ('dir /b test') do dotnet test -c Release test/%%a/%%a.csproj
after_build:
# packing the current Release build of all projects under src/
- cmd: for /f %%a in ('dir /b src') do dotnet pack --no-build -c Release src/%%a/%%a.csproj
# Will build in Coverage mode (full pdbs) and upload coverage to Codecov
on_success:
- ps: .\coverage.ps1 -UploadCodecov
environment:
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
test: off
deploy: off
os: Visual Studio 2019
assembly_info:
patch: true
file: GlobalAssemblyInfo.cs
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{branch} - $(APPVEYOR_REPO_COMMIT)'
dotnet_csproj:
patch: true
file: 'src\**\*.csproj'
version: '{version}'
package_version: '{version}'
artifacts:
- path: '**\*.nupkg'
name: greentube-monitoring-nuget-packages