2017-02-10 10:54:07 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2017-02-10 11:01:12 +00:00
|
|
|
- 1.7
|
2017-02-10 10:54:07 +00:00
|
|
|
install:
|
|
|
|
- go get github.com/constabulary/gb/...
|
|
|
|
- go get github.com/golang/lint/golint
|
|
|
|
- go get github.com/fzipp/gocyclo
|
2017-02-20 17:13:59 +00:00
|
|
|
- go get github.com/mattn/goveralls
|
2017-02-10 10:54:07 +00:00
|
|
|
|
2017-02-20 17:13:59 +00:00
|
|
|
script:
|
|
|
|
- gb build github.com/matrix-org/dendrite/roomserver/roomserver && ./hooks/pre-commit
|
|
|
|
- $HOME/gopath/bin/goveralls -service=travis-ci
|
2017-02-10 10:54:07 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtlZ2FuJTNBbWF0cml4Lm9yZy8lMjFhWmthbkFuV0VkeGNSSVFrV24lM0FtYXRyaXgub3Jn"
|
|
|
|
on_success: change # always|never|change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|
|
|
|
|