forked from Nihlus/AdvancedDLSupport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (22 loc) · 1.57 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: csharp
solution: AdvanceDLSupport.sln
os:
- linux
- osx
mono: latest
dotnet: 2.1.3
before_install:
- git config --global url."https://github.com/".insteadOf "git@github.com:"
install:
- dotnet restore
script:
- msbuild /p:Configuration=Debug AdvanceDLSupport.sln
- nuget install altcover -OutputDirectory altcover -Version 1.6.230
- dotnet run --project altcover/altcover.1.6.230/tools/netcoreapp2.0/AltCover/altcover.core.fsproj --configuration Debug -- -i=AdvancedDLSupport.Tests/bin/Debug/netcoreapp2.0 -o=instrumented-adl -x=coverage-adl.xml --assemblyExcludeFilter=.+\.Tests --assemblyExcludeFilter=AltCover.+ --assemblyExcludeFilter=Mono\.DllMap.+
- dotnet run --project altcover/altcover.1.6.230/tools/netcoreapp2.0/AltCover/altcover.core.fsproj --configuration Debug -- -i=Mono.DllMap.Tests/bin/Debug/netcoreapp2.0 -o=instrumented-mdl -x=coverage-mdl.xml --assemblyExcludeFilter=.+\.Tests --assemblyExcludeFilter=AltCover.+
- cp instrumented-adl/* AdvancedDLSupport.Tests/bin/Debug/netcoreapp2.0
- cp instrumented-mdl/* Mono.DllMap.Tests/bin/Debug/netcoreapp2.0
- dotnet run --project altcover/altcover.1.6.230/tools/netcoreapp2.0/AltCover/altcover.core.fsproj --no-build -- runner -x "dotnet" -r "AdvancedDLSupport.Tests/bin/Debug/netcoreapp2.0" -- test AdvancedDLSupport.Tests --no-build
- dotnet run --project altcover/altcover.1.6.230/tools/netcoreapp2.0/AltCover/altcover.core.fsproj --no-build -- runner -x "dotnet" -r "Mono.DllMap.Tests/bin/Debug/netcoreapp2.0" -- test Mono.DllMap.Tests --no-build
after_success:
- bash <(curl -s https://codecov.io/bash)