Add .travis.yaml

main
Mark Haines 2017-02-10 10:54:07 +00:00
parent c72a44097f
commit 309f2f0a5c
1 changed files with 18 additions and 0 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: go
go:
- 1.8
install:
- go get github.com/constabulary/gb/...
- go get github.com/golang/lint/golint
- go get github.com/fzipp/gocyclo
script: gb build github.com/matrix-org/dendrite/roomserver/roomserver && ./hooks/pre-commit
notifications:
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtlZ2FuJTNBbWF0cml4Lm9yZy8lMjFhWmthbkFuV0VkeGNSSVFrV24lM0FtYXRyaXgub3Jn"
on_success: change # always|never|change
on_failure: always
on_start: never