From a6e8b866083ffd1409e35046843e93d0be21c99f Mon Sep 17 00:00:00 2001 From: StephenMP <1.stephen.porter@gmail.com> Date: Sun, 21 Oct 2018 14:55:24 -0600 Subject: [PATCH] Add deploy to Travis build --- .travis.yml | 14 +++++++------- ChatWell.YouTube/ChatWell.YouTube.csproj | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) 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