Skip to content

Commit 570c65c

Browse files
author
Cornelius Weig
committed
Add travis instructions
1 parent 80e5c6a commit 570c65c

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.travis.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
language: go
2+
3+
os:
4+
- linux
5+
# - osx
6+
7+
go:
8+
- "1.11.x"
9+
10+
env:
11+
- GO111MODULE=on
12+
13+
script:
14+
- make test
15+
- make dev
16+
- make coverage
17+
18+
#after_success:
19+
# - bash <(curl -s https://codecov.io/bash)
20+
21+
before_deploy:
22+
- make deploy
23+
24+
deploy:
25+
provider: releases
26+
api_key: $GITHUB_OAUTH_TOKEN
27+
file:
28+
- out/ketall-linux-amd64
29+
- out/ketall-linux-amd64.sha256
30+
- out/ketall-windows-amd64
31+
- out/ketall-windows-amd64.sha256
32+
- out/ketall-darwin-amd64
33+
- out/ketall-darwin-amd64.sha256
34+
- out/v*.tar.gz
35+
skip_cleanup: true
36+
on:
37+
tag: true

0 commit comments

Comments
 (0)