Skip to content

Commit

Permalink
add Travis CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
abursavich committed Mar 22, 2020
1 parent 8d8502f commit 22a6811
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
dist: bionic

language: go

env:
global:
- GO111MODULE=on
- LINT_VERSION=v1.24.0

go:
- oldstable
- stable
- tip

notifications:
email: false

before_script:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin $LINT_VERSION
- go install github.com/mattn/goveralls

script:
- golangci-lint run
- go test -v -race -covermode atomic -coverprofile=profile.cov ./...
- $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci

0 comments on commit 22a6811

Please sign in to comment.