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

13
travis-test.sh Executable file
View file

@ -0,0 +1,13 @@
#! /bin/bash
set -eu
# Check that the servers build
gb build github.com/matrix-org/dendrite/roomserver/roomserver
gb build github.com/matrix-org/dendrite/roomserver/roomserver-integration-tests
# Run the pre commit hooks
./hooks/pre-commit
# Run the integration tests
bin/roomserver-integration-tests