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 +