-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
46 lines (37 loc) · 1.99 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.7
branches:
only:
- master
- /^v[\d\.]+$/
env:
global:
# CODECOV_TOKEN
- secure: "RVlGAb0nD4W0WJWMKRT+fKZ+Y+HOfHGXcY+4JGuHcwuacR4QGmyj+C6wP/4h1N1oH6JeNGt51m9ltaiLCn1ETEZi9uEukM9THqhjgJi2zf+v7x4UDtRaYEyQG4xWI5IlJ2h+TNXR3/fiYOFUcV4jUSgfiryW3ZDvNAK+eLURLmZplBZUt8+op0OgfgpOWi2/Vx4R1ZXj42XVjgqte1JJzEWdDEHMGsZyrKQZvRKiG2Nd69L8unhFkgpNdBakSO08ZSGOIIKtQqia3sZDVYzSh9ofJrSGi4/2BAWzhRqYxv34SO6kvQSBbK2ACDw3QMyYs5AqFZersgsZ9JzshAisajKcGrxmz4YGQrTYULE/GI352GbaLvVP1s9abuG77PDTOmsFbnmAEpFff3CaG3EKfvXB+MwLBXdEwDKHnXf4w2zBES4Kd6PSKcECCYRdrzj2xQ6GCjUKSzBLINgP7tlek++l0sv9T8x6utGDj/4dZp8AN2p+EHZx7aQL6338HxnnFV6u7CNWGqzxA6ih6Ar6jldH+PPLPXqAAo6isYTGxTY9SOJ2dOE70/vm6k0dKexonGxrxAUP6pBcVXRc/+W7dITq/usRnCScIBF3+TuQ50AzFpCw7icmkLLld6wM9iW/DNdbm7cbY/2nimgmN8DSnzOu1k5tJucPVdOFTzShGK0="
cache:
directories:
- vendor
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: BwAA9NkX4RhBDYiMNsniOqvJuBtDGVa32byF0U2WP5p/DNvqURlNJPDmewrRFOICsF63EdJgNkYJY/wbFMUYKTKl2TUKLh+GpYoR+X12LZh03YWziy4V/RmDq91Rr7A8CYGgl5u1z1LIfDTmPJi+AtBzlhhZOTAtuGjUR1W05XDQ7Vm8yuvVb+Duj54v26DeCBHbENtp6VU3VQBLj/JxrLKkTdDEUgZvP3rB22sL24w0K3kAHQI5F7gUBRnzC/RoTKPMSd007AZSfbLETAAhhSO+haNxvjZm0zIaFAHAYpEnzgU21v4SXwSe0IvQ/XfD87Rw3HFUQzdzFhhDre6Ez22EM1C6ivL2xkQCP1UMqS3QQcfbuq+lxfQBPWO8dMBw802d6iYb4kEa1r2Ns9N7HIC7M2DYAXcCzPc2E8HuGXHDiyvzItmOzKa0QYlQ6UVGw/n8srkftwYjPeOmlVWWawdHL86wW+sl2R/xxUXO6zwbqWO/TGFOe7LWCZgrLprES1h/ZFExxzEcG0aor7p0BuODhsvwxgWoVd+AmE8q1Dnyv5CC3CwaMLgUFFMKnx16mWFKJEE8Ax+beW8zXVPWH1NaDs+ntK4iSfXXzrgkgA7yoZjkxdOTtXuIUTADErJXNtvE5DmPzHzkpl5YpFSo8diYdEXFQXKzrWNNTJBsxfc=
skip_cleanup: true
file_glob: true
file: 'dist/*.{tar.gz,zip}'
on:
tags: true