Add .travis.yml and .goreleaser.yml

This commit is contained in:
2018-07-06 03:22:08 +01:00
parent e356a204fe
commit 42cfe38db1
2 changed files with 56 additions and 0 deletions

20
.travis.yml Normal file
View File

@@ -0,0 +1,20 @@
language: go
go:
- "1.10"
install:
- "curl -L https://github.com/golang/dep/raw/master/install.sh | sh"
- "dep ensure"
script:
- make test
- make
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux