2017-02-10 04:54:07 -06:00
|
|
|
language: go
|
|
|
|
go:
|
2017-02-10 05:01:12 -06:00
|
|
|
- 1.7
|
2017-03-01 08:55:27 -06:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Use trusty for postgres 9.5 support
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: "9.5"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
|
2017-02-10 04:54:07 -06:00
|
|
|
install:
|
|
|
|
- go get github.com/constabulary/gb/...
|
|
|
|
- go get github.com/golang/lint/golint
|
|
|
|
- go get github.com/fzipp/gocyclo
|
2017-03-01 08:55:27 -06:00
|
|
|
- ./travis-install-kafka.sh
|
2017-02-10 04:54:07 -06:00
|
|
|
|
2017-02-20 11:13:59 -06:00
|
|
|
script:
|
2017-03-01 08:55:27 -06:00
|
|
|
- ./travis-test.sh
|
2017-02-10 04:54:07 -06: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
|
|
|
|
|