From f3dd3ca3a1e8eb79044a54982963994342a1ea77 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 13 Oct 2018 10:55:23 -0500 Subject: [PATCH] try publishing coverage to codecov --- .travis.yml | 4 +++- .../FilterLists.Services.Tests.csproj | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 16c670c77..4fa86f1e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,9 @@ addons: - sshpass script: - scripts/build.sh -- dotnet test tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj +- dotnet test -c Release --no-build tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover +after_script: +- bash <(curl -s https://codecov.io/bash) env: global: #FTP_USER diff --git a/tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj b/tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj index a85c391c0..645736d4a 100644 --- a/tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj +++ b/tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj @@ -7,6 +7,10 @@ + + all + runtime; build; native; contentfiles; analyzers +