Add basic sync server integration test (#91)

This commit is contained in:
Kegsay 2017-05-05 17:59:45 +01:00 committed by GitHub
parent a56f609b74
commit 801b9246ce
2 changed files with 530 additions and 1 deletions

View file

@ -2,12 +2,15 @@
set -eu
# Check that the servers build
# Check that the servers build (this is done explicitly because `gb build` can silently fail (exit 0) and then we'd test a stale binary)
gb build github.com/matrix-org/dendrite/cmd/dendrite-room-server
gb build github.com/matrix-org/dendrite/cmd/roomserver-integration-tests
gb build github.com/matrix-org/dendrite/cmd/dendrite-sync-api-server
gb build github.com/matrix-org/dendrite/cmd/syncserver-integration-tests
# Run the pre commit hooks
./hooks/pre-commit
# Run the integration tests
bin/roomserver-integration-tests
bin/syncserver-integration-tests