0cbbc69777
* Add files for testing builds in docker * Make tests check for redis running before trying to start redis-server, which may not exist. * Clean redis server before any tests use it. * Add more debugging for travis * Explicitly requiring redis for travis
20 lines
369 B
YAML
20 lines
369 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.10.x
|
|
|
|
services:
|
|
- redis
|
|
|
|
before_install:
|
|
- source scripts/travis-deps.sh
|
|
|
|
install:
|
|
- make build-dev-deps
|
|
|
|
script:
|
|
- make test
|
|
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -L 1 sh -c
|
|
- gover
|
|
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
|