0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-02 14:09:09 +01:00
dendrite/travis-test.sh

18 lines
641 B
Bash
Raw Normal View History

#! /bin/bash
set -eu
# 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
2017-03-21 18:14:17 +01:00
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
gb build github.com/matrix-org/dendrite/cmd/create-account
# Run the pre commit hooks
./hooks/pre-commit
# Run the integration tests
bin/roomserver-integration-tests
bin/syncserver-integration-tests