mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-23 03:31:37 +00:00
27 lines
640 B
YAML
27 lines
640 B
YAML
language: go
|
|
go:
|
|
- 1.8
|
|
- 1.9
|
|
- tip
|
|
before_install:
|
|
- go get -v github.com/golang/lint/golint
|
|
script:
|
|
- $HOME/gopath/bin/golint -min_confidence 0.9 -set_exit_status
|
|
- GORACE="exitcode=1 halt_on_error=1" go test -v -coverprofile=coverage.txt -race -timeout 3m -count 3 -cpu 1,4
|
|
- go tool vet -v -all .
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
branches:
|
|
only:
|
|
- master
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- irc.byteirc.org#/dev/null
|
|
template:
|
|
- "%{repository} #%{build_number} %{branch}/%{commit}: %{author} -- %{message}
|
|
%{build_url}"
|
|
on_success: change
|
|
on_failure: change
|
|
skip_join: false
|