php-src/travis/setup-pgsql.sh
George Peter Banyard 850feffac0 Add S390X architecture as a Travis job
This gives us a way to compile and test a big endian architecture.

Closes GH-5382.
2020-04-16 12:20:50 +02:00

6 lines
182 B
Bash
Executable file

#!/bin/bash
echo '
<?php $conn_str .= " user=postgres"; ?>' >> "./ext/pgsql/tests/config.inc"
if [ -z "$ARM64" -o -z "$S390X"]; then
psql -c 'create database test;' -U postgres
fi