mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 07:57:44 +00:00
19 lines
379 B
YAML
19 lines
379 B
YAML
|
sudo: false
|
||
|
language: go
|
||
|
go:
|
||
|
- 1.7.x
|
||
|
- 1.8.x
|
||
|
- 1.9.x
|
||
|
- 1.10.x
|
||
|
- 1.11.x
|
||
|
- 1.12.x
|
||
|
- 1.13.x
|
||
|
- master
|
||
|
before_install:
|
||
|
- go get github.com/mattn/goveralls
|
||
|
script:
|
||
|
- go test -v -covermode=count -coverprofile=coverage.out
|
||
|
- go vet ./...
|
||
|
- test -z "$(gofmt -d -s . | tee /dev/stderr)"
|
||
|
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
|