-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (35 loc) · 772 Bytes
/
.travis.yml
File metadata and controls
41 lines (35 loc) · 772 Bytes
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
language: go
go:
- 1.9.x
- 1.10.x
- 1.11.x
- master
before_install:
- echo "machine github.com login $GITHUB_AUTH_TOKEN" > ~/.netrc
- go version
- go get -v .
install:
- make
script:
- make VERSION="${TRAVIS_TAG:-latest}" dist
deploy:
provider: releases
api_key: $GITHUB_ACCESS_TOKEN
overwrite: true
skip_cleanup: true
file_glob: true
file:
- dist/lrs-alpine-linux-amd64-*.tar.gz
- dist/lrs-linux-amd64-*.tar.gz
- dist/lrs-linux-i386-*.tar.gz
- dist/lrs-linux-armel-*.tar.gz
- dist/lrs-linux-armhf-*.tar.gz
- dist/lrs-darwin-amd64-*.tar.gz
- dist/lrs-darwin-i386-*.tar.gz
- dist/lrs-windows-amd64-*.zip
- dist/lrs-windows-i386-*.zip
on:
tags: true
notifications:
email:
on_success: never