php-8.0.30-src/travis/setup-pgsql.sh

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