iwanbk/bcache

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: go

go:
  - 1.11.x

install:
  - go get -v -t

script:
  - go build
  - go test -race -coverprofile=coverage.txt -covermode=atomic

  # execute integration test without `-race` flag, as it is not thread safe
  # caused by issue on https://github.com/weaveworks/mesh/pull/98
  - go test -tags integration -coverprofile=coverage.txt -covermode=atomic

after_success:
  - bash <(curl -s https://codecov.io/bash)