test_postgresql.sh 301 B

123456789101112
  1. #!/bin/bash
  2. # This script builds the Docker image to run the PostgreSQL tests, and then runs
  3. # the tests.
  4. set -e
  5. # Build, and tag
  6. docker build docker/ -f docker/Dockerfile-pgtests -t synapsepgtests
  7. # Run, mounting the current directory into /src
  8. docker run --rm -it -v $(pwd)\:/src synapsepgtests