Skip to content

Commit

Permalink
Update Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 2, 2019
1 parent dfd260a commit 9cf633c
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
sudo: false
language: go

sudo: false
go:
- 1.9.x
- 1.10.x
- "1.11.x"
- tip

os:
- linux
- osx
matrix:
allow_failures:
- go: tip

before_script:
- go get -u github.com/golang/lint/golint

fast_finish: true
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic

after_script:
- test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
- test -z "$(golint ./... | tee /dev/stderr)"
- go vet ./...

- env GO111MODULE=on go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)
os:
- linux
- osx

notifications:
email: false
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 9cf633c

Please sign in to comment.