1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-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

7 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