diff --git a/.travis.yml b/.travis.yml index f7861bd..d2e7169 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,12 +10,12 @@ script: - dotnet test -c Release --no-build ChatWell.YouTube.Tests/ChatWell.YouTube.Tests.csproj -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:Exclude="[ChatWell.YouTube.Tests*]*" - curl -s https://codecov.io/bash > codecov - chmod +x codecov - - ./codecov -f ./SLOBSharp.Tests/coverage.opencover.xml -# deploy: -# skip_cleanup: true -# provider: script -# script: dotnet nuget push ./SLOBSharp/bin/Release/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json -# on: -# branch: release + - ./codecov -f ./ChatWell.YouTube.Tests/coverage.opencover.xml +deploy: + skip_cleanup: true + provider: script + script: dotnet nuget push ./ChatWell.YouTube/bin/Release/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json + on: + branch: release notifications: email: false \ No newline at end of file diff --git a/ChatWell.YouTube/ChatWell.YouTube.csproj b/ChatWell.YouTube/ChatWell.YouTube.csproj index a8ecf98..b4ff216 100644 --- a/ChatWell.YouTube/ChatWell.YouTube.csproj +++ b/ChatWell.YouTube/ChatWell.YouTube.csproj @@ -9,6 +9,7 @@ https://github.com/StephenMP/ChatWell.YouTube/blob/master/LICENSE https://github.com/StephenMP/ChatWell.YouTube https://github.com/StephenMP/ChatWell.YouTube + true