-
Notifications
You must be signed in to change notification settings - Fork 161
/
Copy pathappveyor.yml
36 lines (29 loc) · 1.16 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
version: 2.0.{build}
shallow_clone: true
clone_depth: 1
branches:
only:
- master
services:
- mssql2012sp1
- iis
- mongodb
environment:
ConnectionString: Server=(local)\SQL2012SP1;Database=master;User ID=sa;Password=Password12!
COVERALLS_REPO_TOKEN:
secure: VwMSUv6m2x21/AfgTZY9+hxfSBAjRL0gScLpmwpZk6W0LujzCZ1atvFGBRT5HGrC
cache:
- packages -> **\packages.config
build_script:
- ps: .\build\build.ps1
test:
categories:
- Unit
- Integration
after_test:
- packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -filter:"+[Roadkill*]* -[Roadkill.Tests*]* -[*]*Exception*" -excludebyfile:*.Designer.cs;*HtmlDiff.cs -target:"packages\NUnit.Runners.2.6.4\tools\nunit-console.exe" -targetargs:"/noshadow /domain:single /include=Unit,Integration src\Roadkill.Tests\bin\release\Roadkill.Tests.dll" -output:coverage.xml
- packages\coveralls.io.1.3.4\tools\coveralls.net.exe --opencover coverage.xml
- ps: >-
Copy-item -Path "lib\configs\connectionStrings.config" -Destination "src\Roadkill.Web\connectionStrings.config";
del "src\Roadkill.Web\Web.Debug.config";
del "src\Roadkill.Web\Web.Release.config";