22 lines
514 B
YAML
22 lines
514 B
YAML
sudo: required
|
|
|
|
go_import_path: github.com/ory-am/dockertest
|
|
|
|
language: go
|
|
|
|
services:
|
|
- docker
|
|
|
|
go:
|
|
- 1.9
|
|
|
|
install:
|
|
- go get github.com/mattn/goveralls golang.org/x/tools/cmd/cover github.com/pierrre/gotestcover
|
|
- curl -L -s https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -o $GOPATH/bin/dep && chmod +x $GOPATH/bin/dep
|
|
- dep ensure -vendor-only
|
|
|
|
script:
|
|
- go vet -x .
|
|
- gotestcover -coverprofile="cover.out" -race -covermode="atomic" .
|
|
- goveralls -coverprofile="cover.out"
|