Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed May 3, 2019
1 parent ec29243 commit 99b8ca8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
dist: trusty
language: go
go: '1.12.x'
addons:
apt:
packages:
- rpm
env:
- GO111MODULE=on
script:
- go test -v ./pkg/...
- test -n "$TRAVIS_TAG" || curl -sL https://git.io/goreleaser | bash -s -- --snapshot --debug --rm-dist
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
notifications:
email: false

0 comments on commit 99b8ca8

Please sign in to comment.