summary refs log tree commit diff
path: root/test_postgresql.sh
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-09-20 11:00:14 +0100
committerErik Johnston <erik@matrix.org>2018-09-20 11:00:14 +0100
commitb2fda9d20eb5fdb570b9dd0cd7f2b00aa7ef8dbb (patch)
tree014eeab1a2ed54cd831e1cc8ac89b3e2e03c87f3 /test_postgresql.sh
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentMerge pull request #3914 from matrix-org/erikj/remove_retry_cache (diff)
downloadsynapse-b2fda9d20eb5fdb570b9dd0cd7f2b00aa7ef8dbb.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'test_postgresql.sh')
-rwxr-xr-xtest_postgresql.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/test_postgresql.sh b/test_postgresql.sh
new file mode 100755

index 0000000000..1ffcaabd31 --- /dev/null +++ b/test_postgresql.sh
@@ -0,0 +1,12 @@ +#!/bin/bash + +# This script builds the Docker image to run the PostgreSQL tests, and then runs +# the tests. + +set -e + +# Build, and tag +docker build docker/ -f docker/Dockerfile-pgtests -t synapsepgtests + +# Run, mounting the current directory into /src +docker run --rm -it -v $(pwd)\:/src synapsepgtests