2017-03-01 08:55:27 -06:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2017-05-05 11:59:45 -05:00
|
|
|
# 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)
|
2017-04-20 11:47:33 -05:00
|
|
|
gb build github.com/matrix-org/dendrite/cmd/dendrite-room-server
|
2017-03-21 12:14:17 -05:00
|
|
|
gb build github.com/matrix-org/dendrite/cmd/roomserver-integration-tests
|
2017-05-05 11:59:45 -05:00
|
|
|
gb build github.com/matrix-org/dendrite/cmd/dendrite-sync-api-server
|
|
|
|
gb build github.com/matrix-org/dendrite/cmd/syncserver-integration-tests
|
2017-03-01 08:55:27 -06:00
|
|
|
|
|
|
|
# Run the pre commit hooks
|
|
|
|
./hooks/pre-commit
|
|
|
|
|
|
|
|
# Run the integration tests
|
|
|
|
bin/roomserver-integration-tests
|
2017-05-05 11:59:45 -05:00
|
|
|
bin/syncserver-integration-tests
|