23 lines
582 B
YAML
23 lines
582 B
YAML
sudo: false
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|
|
|
|
language: go
|
|
go:
|
|
# TODO: We only test for go 1.8 or later because testing.Name() is not supported.
|
|
# There must be a way to check if non-test builds work for go before 1.8
|
|
- 1.8
|
|
- tip
|
|
|
|
before_install:
|
|
- go get github.com/axw/gocov/gocov
|
|
- go get github.com/mattn/goveralls
|
|
- go get github.com/stretchr/testify/assert
|
|
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
|
|
|
script:
|
|
- make ci
|
|
- $GOPATH/bin/goveralls -service=travis-ci
|