Skip to content

Commit ec4a598

Browse files
committed
Add travis script
1 parent 3ac80a0 commit ec4a598

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
language: go
2+
go:
3+
- "1.11"
4+
5+
notifications:
6+
email: false
7+
8+
env:
9+
- GO111MODULE=on
10+
11+
install:
12+
- go mod download
13+
- go mod verify
14+
15+
script:
16+
- go install ./...
17+
18+
before_deploy:
19+
- GIT_TAG=$TRAVIS_TAG make clean build
20+
21+
deploy:
22+
- provider: releases
23+
api_key: $GH_TOKEN
24+
file_glob: true
25+
file: build/*
26+
skip_cleanup: true
27+
on:
28+
tags: true

0 commit comments

Comments
 (0)