Skip to content

Commit

Permalink
add travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
kavehmz committed Mar 26, 2019
1 parent 2213356 commit c530fb0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: go
go:
- 1.x
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/golangci/golangci-lint/cmd/golangci-lint
script:
- go version
- go test -v -cover -coverprofile=cover.out ./...
- $HOME/gopath/bin/goveralls -coverprofile=cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN
- golangci-lint run ./...

0 comments on commit c530fb0

Please sign in to comment.