Skip to content

Commit 8902983

Browse files
Gimlythinkingserious
authored andcommitted
chore: Adds a Deploy Travis task that publishes to NuGet (#71)
1 parent 83657fc commit 8902983

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.travis.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ script:
1212
- curl -s https://codecov.io/bash > .codecov
1313
- chmod +x .codecov
1414
- ./.codecov
15-
15+
deploy:
16+
skip_cleanup: true
17+
provider: script
18+
script: nuget push ./CSharpHTTPClient/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
19+
on:
20+
branch: master
21+
tags: true
1622
after_success:
17-
- bash <(curl -s https://codecov.io/bash)
18-
19-
notifications:
20-
hipchat:
21-
rooms:
22-
secure: S6y3miMzrvRro+vhiuLjuyDm89l9mLbWbXT9Ak2fYorHWT+tGFrBQgoPB7veePkYkaIDAR5z+WF2amRnfKyesjdrLtJyDxAABKEV3X5ty1sIlaz+KK6QmEyK+krGUkUPAyM/7tZ1U7VDhXgxo0VNYhgT7jmFGQdLzupOdGZ7fI3/BA0kS8mDMNmIxjJyDhUama+P4ENCRMMYOs92McjCWBQe3Yss08gzBAzpnBQs5nBDyziz/Agevg2UVENwCiYX18hcz0xkoE84yKnSs+yrFdrK7fQR54k1wwM5yL3e0akw6BwdxoHcglIqxMIPHzZXAI77dxmDoZwjSCeT9H25FQ2wkIbjiduWhXsD+KFKDfmB3qc0HyU/ZPefUTkZBFtCQh18M0agNBvZ8IJaDDaNK6YnUVQ7RXpVy4TN8nRz4n5pv2w54QXjPtWVA1dU/iSzbKyAvhvourH6fTQs+rnLXzlJDpd96lYV6INNbobMpRAH40n8f/xljWpiwJmNK0QLlae8/RnijJ/nPOykA/ik75+ykxeebAqqvilO9ZKIPqtOR3ZEKmsFqDiOreQ3IVudZEEUj4mn8ysM5fFg1zfRpY6kL1iBhMZFHavRxtGXFIWcqtH1PYB7pi+c7oUAKHo6ntEk9KgQWDhEBXtRtTWGwvGS0lEKi3sNb0g3sZWhwtQ=
23-
template:
24-
- '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository}
25-
Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
26-
<a href="https://github.com/%{repository}/commits/%{commit}">View on GitHub</a>'
27-
format: html
23+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)