2021-03-25 17:53:54 +01:00
|
|
|
#!/usr/bin/env bash
|
2018-09-20 10:12:45 +02:00
|
|
|
|
|
|
|
# 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
|