evalphobia/google-tts-go

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
sudo: false
language: go
go:
  - 1.x
  - tip
matrix:
  allow_failures:
    - go: tip
before_install:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/modocache/gover
  - go get     github.com/stretchr/testify/assert
before_script:
  - go vet ./...
  - gofmt -s -l .
script:
  - go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -I{} sh -c '{}'
  - gover . coverprofile.txt
after_success:
  - bash <(curl -s https://codecov.io/bash) -f coverprofile.txt