-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.3 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
language: go
go: 1.8
sudo: false
dist: trusty
before_install:
- go get github.com/mattn/goveralls
install:
- go get github.com/BurntSushi/toml
- go get github.com/go-kit/kit/log
script:
- goveralls -service=travis-ci -package=.
env:
global:
- VERSION=$(cat VERSION)
before_deploy:
- mkdir -p release
- GOOS=linux GOARCH=amd64 go build -o release/samlare-v$VERSION-linux-amd64
- GOOS=darwin GOARCH=amd64 go build -o release/samlare-v$VERSION-darwin-amd64
deploy:
provider: releases
api_key:
secure: 33fy6ed7FT/IhtxWA9sEU9QtzCn/E9iBd+PgQxFHg7v5s9HhsSUzdkFWixcn1I7rlou1pX7FGdiWQKoooLyJkLYtNakkK3guHx0gdELX81C8BYl4Krwpn92ilXrQ+0qaQhv08XdeXEa3R18uKjdXUtp67N6GxLNsVQO4NDRFELCoeABkbWVmtNmU+BB+PsKeGXlfX9BYeda/ChPT1te+etNtBdgWFTYK3cTdfmF+Ja5yseTVlwjLOBl92y1JMlm14wDNEJtnrbOyMPOiaoSUpsQA966otJuffhRyZ3P+JketMADkwMfMWuSrO0Wpu4mhrrlxA96NDacu0ypaZX36WEw7jCdY04EEV3H220zrxkMUmkmIjo/vd+LANaOHt9JQdb7mzr/A1DHnpIqeK28rv7j7fGQ2jCjyANq1BkVmAJPh/Wtk31grIC2uJ8LmdP/0JtU9KrebD5rik1D8DfCBcgpXv7/Jxc6X1Bn1W5ivvIyTFpqsq3b3Nxfa7sRn+XNcLUKP1hhz3T+a2AiUgFePIG1SAU+tsKoa0cZATZen6r+3jYQry26pzUb+JMZf2MtXaM02ehznHdrYCi7439kusmvz+z0gaRNswhizD6LfcIvkhrncywifa3XdwZ1Qx9DfSuNK9Yk2uof/mWFlZxy7JS0yZzVP4ogLlpnB++DDhRo=
file:
- release/samlare-v$VERSION-linux-amd64
- release/samlare-v$VERSION-darwin-amd64
skip_cleanup: true
on:
tags: true