22 lines
499 B
YAML
22 lines
499 B
YAML
|
sudo: required
|
||
|
|
||
|
go_import_path: github.com/ory/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.4.1/dep-linux-amd64 -o $GOPATH/bin/dep && chmod +x $GOPATH/bin/dep
|
||
|
- dep ensure -vendor-only
|
||
|
|
||
|
script:
|
||
|
- go vet -x .
|
||
|
- go test -covermode=atomic -coverprofile="cover.out" .
|
||
|
- goveralls -coverprofile="cover.out"
|