forked from ninject/Ninject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
31 lines (24 loc) · 876 Bytes
/
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
configuration: Release
image: Visual Studio 2019
cache:
- '%LocalAppData%\NuGet\v3-cache -> **\*.csproj'
before_build:
- dotnet restore --verbosity quiet
build:
parallel: true
verbosity: minimal
test_script:
- dotnet test --configuration Release --no-build --collect="Code Coverage" src\Ninject.Test
- nuget install Microsoft.CodeCoverage -x -Verbosity quiet
- for /f %%G in ('dir /b /s *.coverage') do Microsoft.CodeCoverage\build\netstandard1.0\CodeCoverage\CodeCoverage analyze /output:%%~dpnG.coveragexml "%%G"
- nuget install Codecov -x -Verbosity quiet
- for /f %%G in ('dir /b /s *.coveragexml') do Codecov\tools\codecov -f "%%G"
artifacts:
- path: 'src\**\*.nupkg'
- path: 'src\**\*.snupkg'
deploy:
provider: NuGet
api_key:
secure: ObZpjlJ2soInYT4Ooi+u2KeQQ1LRsBbRA9uPU7ctOma7CZxxNN8hPUVjwFUY2wS1
on:
appveyor_repo_tag: true