mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-24 12:41:34 +00:00
37e0b6c4c6
* Add integration tests for roomserver to travis * Try setting the dist trusty to see if that helps with postgres * Pretty print the test input JSON * Add comment as to why we are using trusty
33 lines
627 B
YAML
33 lines
627 B
YAML
language: go
|
|
go:
|
|
- 1.7
|
|
|
|
sudo: false
|
|
|
|
# Use trusty for postgres 9.5 support
|
|
dist: trusty
|
|
|
|
addons:
|
|
postgresql: "9.5"
|
|
|
|
services:
|
|
- postgresql
|
|
|
|
install:
|
|
- go get github.com/constabulary/gb/...
|
|
- go get github.com/golang/lint/golint
|
|
- go get github.com/fzipp/gocyclo
|
|
- ./travis-install-kafka.sh
|
|
|
|
script:
|
|
- ./travis-test.sh
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtlZ2FuJTNBbWF0cml4Lm9yZy8lMjFhWmthbkFuV0VkeGNSSVFrV24lM0FtYXRyaXgub3Jn"
|
|
on_success: change # always|never|change
|
|
on_failure: always
|
|
on_start: never
|
|
|