mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-23 04:41:36 +00:00
21 lines
396 B
YAML
21 lines
396 B
YAML
|
---
|
||
|
language: go
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- $HOME/.cache/go-build
|
||
|
- $HOME/gopath/pkg/mod
|
||
|
|
||
|
go:
|
||
|
- 1.x
|
||
|
|
||
|
before_script:
|
||
|
- git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||
|
- git describe --tags $(git rev-list --tags --max-count=1) --always
|
||
|
|
||
|
script:
|
||
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic -p=1 ./...
|
||
|
|
||
|
after_success:
|
||
|
- bash <(curl -s https://codecov.io/bash)
|