forked from quamotion/madb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (28 loc) · 1.42 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
version: 1.0.{build}.0
environment:
NuGetApiKey:
secure: uNF4gY8KN67ODxKkGPBIz+5MDdf3MRtz4Vi+9McPhWYi4Z6YMQvOcTQRWZYd/N9b
assembly_info:
patch: true
file: Shared\SharedAssemblyInfo.cs
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
build_script:
- msbuild Managed.Adb.sln /p:Configuration=Release /p:Platform="Any CPU" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
on_success:
- cmd: nuget pack Managed.Adb.nuspec -Version %APPVEYOR_BUILD_VERSION%
- cmd: nuget setApiKey %NuGetApiKey% > nul
- cmd: nuget push madb.%APPVEYOR_BUILD_VERSION%.nupkg
- ps: Push-AppveyorArtifact "madb.$($env:APPVEYOR_BUILD_VERSION).nupkg"
test:
categories:
except:
- IntegrationTest
test_script:
- .\packages\OpenCover.4.6.210-rc\tools\OpenCover.Console.exe -register:user -target:"c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" -targetargs:".\Managed.Adb.Tests\bin\Release\Managed.Adb.Tests.dll /logger:Appveyor /testcasefilter:TestCategory!=IntegrationTest" -filter:"+[Managed.Adb]* -[Managed.Adb]Managed.Adb.Properties.*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\Managed.Adb.coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "Managed.Adb.Coverage.xml"
nuget:
project_feed: true
account_feed: true