Add integration tests for roomserver to travis (#21)

* 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
This commit is contained in:
Mark Haines 2017-03-01 14:55:27 +00:00 committed by GitHub
parent 276cc8cad6
commit 37e0b6c4c6
4 changed files with 389 additions and 1 deletions

View file

@ -1,13 +1,26 @@
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:
- gb build github.com/matrix-org/dendrite/roomserver/roomserver && ./hooks/pre-commit
- ./travis-test.sh
notifications:
webhooks: