-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
33 lines (33 loc) · 2.65 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: go
go:
- '1.14.7'
git:
depth: 1
services:
- docker
env:
matrix:
- GO111MODULE=on
global:
- secure: iFaSkw/4Hgi1Me9CSpxKegYMFy/8pUQHE/Fv3QqEt+avbxDjT78N1I+p0eWw9HEmqrehHvqgdGY6GRVa6QSabitqp29qqGVdO3zefUD0OiZKnpQLwFeQRlO+7NALBaUmTr7ntiY/Lv9stBXTncBpx6by7ON3JpI7eEii36l5Y4+SWzP9bAki9vWFmcfiWqRAJ1ORQIzQWydeeaBmf06iVEPgRIVcbqSzHq0DNT4a8gDgx1wf+HUPQA1Ot1k9+ARNXw1H+hK9eoJp4ljzazaPh5STt+GCH9Kj2ALoQLz04t4tv69ioYME1yLYPLsddRYpATVCdDono8Vs8+2AMXyAjvhteHT280khZHEVdCjXrh/kcy25gNGRcEWtxn63FVxUjorYlCSlzDrKza5WdBPBBObbybQzr76nLM14D65eRdEGItWE6pVQS6D/Btjf0tVWIIkeXY4Q69cpMn5wONe8mQXZS5SnounI3wRUbLgCgJdIEHbpDU46LNgnWQBliLpouhmv+Y86UevH3Qj3Zcckegq4B8K5RaIApI2IsYA1cfTbTWEmOV2mclf4f0VUO4Y4Vd/l+jbcZKrU1N4cL1WjnszKS/i9ejUkJYaPRgn4u+h/MHk6ZFvonRSxtXOVIroHxRLR7/nw6ctARNEDGNHOPmNoZhat+bOoSVVmVPDzpb0=
- secure: D0ZbcTkHYy/mPwZIpDSi36WqGkzwrEqdD/sKl/C3F0c1rzsdZYjgs5i6bAVxPNQvpv/ClMLchImw3rZVkjrT0ZdVzwgWTPReudvTHpwm0gijwEgVb2BHtLkcYFJvEIhvrPHsPyb6J+H4Lq1Uo5OIUbXfjgQ0sORuczfqkdRWMbzcwkpacL0scspdLnlEoV/0YklziOZ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6K4nTincbaHDjDsY69WqRREntRyemkucYOnOItKclaNTtx1KTZW9U/0+c6yhih9AIGvxODq6L3Crgd9GKf7F/z2/UzZuFvV5z4HLY=
install:
- make setup
script:
- make lint
- make test
- make test-integration
- curl -sL https://git.io/goreleaser | bash -s -- --snapshot --skip-publish --rm-dist
after_success:
- bash <(curl -s https://codecov.io/bash)
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKERHUB_USER" -p="$DOCKERHUB_TOKEN"
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash -s -- --rm-dist
on:
tags: true
condition: "$TRAVIS_OS_NAME = linux"
notifications:
email: false