-
Notifications
You must be signed in to change notification settings - Fork 34
/
appveyor.yml
30 lines (23 loc) · 866 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
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.Extensions.Factory.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'
deploy:
provider: NuGet
api_key:
secure: sWL/NJKz8FlteNgBJjK4mGnc5RUtQ/kwfI39IpnUDUBsO6oUR3M/6yoSYatiCiaG
on:
appveyor_repo_tag: true