.travis.yml 420 字节
language: go
sudo: false

go:
    - 1.12.x

before_install:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls
  - go get github.com/golangci/golangci-lint/cmd/golangci-lint

script:
  - go get -v -t . ./_examples
  - go test -coverprofile profile.cov .
  - go test ./_examples
  - ${GOPATH}/bin/golangci-lint run ./...
  - ${GOPATH}/bin/goveralls -coverprofile profile.cov -service=travis-ci