Skip to content

Commit

Permalink
Adding .travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
henvic committed Apr 8, 2019
1 parent 1fededf commit cdcd291
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
sudo: false

language: go

go:
- "1.12.2"
- "tip"

matrix:
allow_failures:
- go: tip

env:
- GO111MODULE=on

install:
- go get github.com/mattn/goveralls
- go get github.com/kisielk/errcheck
- go get golang.org/x/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
- go get github.com/securego/gosec/cmd/gosec
- go get -u golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow

script:
- make test

after_success:
- sh $(pwd)/scripts/coverage.sh --coveralls

0 comments on commit cdcd291

Please sign in to comment.