-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 1.33 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
34
35
36
37
38
39
40
41
42
43
44
45
46
language: go
go: 1.8.3
branches:
only:
- master
- /^v[\d\.]+$/
cache:
directories:
- vendor
env:
global:
# CODECOV_TOKEN
# - secure: TODO
before_install:
- sudo add-apt-repository ppa:masterminds/glide -y
- sudo apt-get update -q
- sudo apt-get install glide -y
- mkdir -p $GOPATH/bin
- go get -u github.com/golang/lint/golint
install:
- glide install
script:
- make ci-test
after_success:
# - bash <(curl -s https://codecov.io/bash)
before_deploy:
- make ci-build
- make dist
deploy:
provider: releases
api_key:
secure: Vk7l2XxnKX9Pvkv5TxuPt6y/NAOkyHyeMUpRAvtnfP9CicEzwcOM1x7nupQ3xkO6b8GsDN4hlKI6+KpP3ADr8hX/K7IBqAsrBXsAR1OgcxGDmvm05XVn+pqj88H2rAUJqr4sCrtC4xbId1UdDyewOJt5E0WOwWBiURH0N4LQozPGvXs/5QdFAXg8DwssLZeccqcvliGO5ClkTUKH8ocNNI/JNagArFXHDtwa2OmBgFXMzBR83EmQLoAg48pUagVqn0l+HxSJ1nqRroRKzzRwkvfxdrG/sr5+ladqP66SGlzeZZ8EGCR69tryB8T5RMKO8aR2mniEZPtH8nsziDQKIDMBIg6Gf9UTgkXk2saOyrrFPN8TyTUWD3ObIck4PQKuOBBZ/bpiuvJXozrNhtMxUDFabVauMIa7ZFZj3XI9d9pWFcB5fd8nHlYdHyQAH2Xs84nlvOq9ZbuO3QLqpW/L8mtOCb9mI3yqgJHCGBwFvSq57VCwDZ07/0PJI++hyhAy3V/yGH514nA2A2AU5rGeblrBRSrDsFQug5RHvCkxHP6d+EOIDudxCNB/gVDPqhhPWBFeUZ+6xb95MdFl+w9bOkhYQqiklv0MWoGSfTU4YTNSO3OhvpDofGUb2wTViCx7DYtRvy1y0HsjG2+m9MQIjPLQ41ETxIQLOi2AHzcmKQ8=
skip_cleanup: true
file_glob: true
file: 'dist/*.{tar.gz,zip}'
on:
tags: true