This lets some golint errors in, but fails if you're over a certain threshold. The current threshold of 15% (of LOC) is arbitrary and subject to change. The algorithm should be extended to check a range of commits, although it's unclear how to detect what range of commits make up a patch set.
27 lines
492 B
YAML
27 lines
492 B
YAML
language: go
|
|
go:
|
|
- 1.4.3
|
|
- 1.5.3
|
|
- 1.6
|
|
- tip
|
|
sudo: false
|
|
before_install: 'git fetch --unshallow'
|
|
install: 'make deps'
|
|
script: 'make test'
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.net#mgmtconfig"
|
|
template:
|
|
- "%{repository} (%{commit}: %{author}): %{message}"
|
|
- "More info : %{build_url}"
|
|
on_success: always
|
|
on_failure: always
|
|
use_notice: false
|
|
skip_join: false
|
|
email:
|
|
- travis-ci@shubin.ca
|