Skip to content

Commit

Permalink
Merge pull request #2 from oklahomer/feature/update-travis-ci
Browse files Browse the repository at this point in the history
Update Travis CI settings
  • Loading branch information
oklahomer committed Jun 11, 2022
2 parents dec9549 + b39c16d commit 1e3f390
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@ language: go
sudo: false

go:
- "1.12"
- "1.13"
- "1.16"
- "1.17"
- "1.18"
- "tip"

before_install:
- export PATH=$HOME/gopath/bin:$PATH
- go get github.com/mattn/goveralls
- go install github.com/mattn/goveralls@latest

script:
- go test -race ./...
- go test -cover ./...
- goveralls -service=travis-ci
- goveralls -service=travis-ci -ignore=examples/*/*.go
- go test -coverprofile=coverage.out -cover ./...
- goveralls -coverprofile=coverage.out -service=travis-ci

matrix:
allow_failures:
- go: tip

git:
depth: 10
env:
- GO111MODULE=on

0 comments on commit 1e3f390

Please sign in to comment.