-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
56 lines (42 loc) · 1.77 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
-
branches:
only:
- nuget
image: Visual Studio 2017
before_build:
- nuget restore JDI.Light/JDI.Light.sln
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
- ps: Set-ScreenResolution 1280 1024
build_script:
- msbuild JDI.Light/JDI.Light.sln /p:Configuration=Release /t:Rebuild
test_script:
- ps: .\JDI.Light\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" "-targetargs:""JDI.Light\JDI.Light.Tests\bin\Release\JDI.Light.Tests.dll""" -filter:"+[JDI.Light*]* -[JDI.Light.Tests*]*" -output:opencoverCoverage.xml
after_build:
- nuget pack "JDI.Light/JDI.Light/JDI.Light.csproj" -Prop Configuration=Release
artifacts:
- path: '*.nupkg'
name: nupkg
deploy:
provider: NuGet
server:
api_key:
secure: crLYbWXNgfrzYazkV18cEBRKnl90ee0wjWUfZGIDhkZcZg1ZlGbbsqRdr8JLmU3O
skip_symbols: false
artifact: nupkg
on_finish:
- ps: .\Coverage.ps1
-
branches:
except:
- nuget
image: Visual Studio 2017
before_build:
- nuget restore JDI.Light/JDI.Light.sln
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1'))
- ps: Set-ScreenResolution 1280 1024
build_script:
- msbuild JDI.Light/JDI.Light.sln /p:Configuration=Release /t:Rebuild
test_script:
- ps: .\JDI.Light\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" "-targetargs:""JDI.Light\JDI.Light.Tests\bin\Release\JDI.Light.Tests.dll""" -filter:"+[JDI.Light*]* -[JDI.Light.Tests*]*" -output:opencoverCoverage.xml
on_finish:
- ps: .\Coverage.ps1