php-src/travis/setup-pgsql.sh
Gerard Roche cf3d3cd86f Fix PostgreSQL and MySQL setup on Travis CI
Note that the PostgreSQL tests still don't work on some architectures.

Closes GH-5607.
2020-05-22 10:02:57 +02:00

9 lines
236 B
Bash
Executable File

#!/bin/sh
set -ev
# PostgreSQL tests currently don't work on some architectures.
if test -z "${ARM64}${S390X}"; then
psql -c "ALTER USER postgres PASSWORD 'postgres';" -U postgres
psql -c "CREATE DATABASE test;" -U postgres
fi