Skip to content

Commit 086b168

Browse files
committed
Release
1 parent a202499 commit 086b168

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: go
2+
go: 1.12
3+
4+
env:
5+
global:
6+
- GO111MODULES=on
7+
8+
script: /bin/true
9+
10+
before_deploy:
11+
- GOOS=linux
12+
- GOARCH=amd64
13+
- go build -ldflags '-w -s'
14+
- tar -cJf osm-${TRAVIS_TAG}-${GOARCH}.tar.xz osm
15+
16+
deploy:
17+
provider: releases
18+
api_key: $GITHUB_TOKEN
19+
file: osm-${TRAVIS_TAG}-${GOARCH}.tar.xz
20+
skip_cleanup: true
21+
on:
22+
tags: true

0 commit comments

Comments
 (0)