summaryrefslogtreecommitdiff
path: root/travis/setup-pgsql.sh
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-04-13 00:13:58 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-16 12:20:50 +0200
commit850feffac0b5ae5ad63638fe1577251971c54f7a (patch)
tree9c45756eb37849c07dfa48bbcf284b7dc4877d47 /travis/setup-pgsql.sh
parent810c5c74e6fe9085e9668f154690d8913d3b80dd (diff)
downloadphp-git-850feffac0b5ae5ad63638fe1577251971c54f7a.tar.gz
Add S390X architecture as a Travis job
This gives us a way to compile and test a big endian architecture. Closes GH-5382.
Diffstat (limited to 'travis/setup-pgsql.sh')
-rwxr-xr-xtravis/setup-pgsql.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis/setup-pgsql.sh b/travis/setup-pgsql.sh
index 9172356265..d0929de9f0 100755
--- a/travis/setup-pgsql.sh
+++ b/travis/setup-pgsql.sh
@@ -1,6 +1,6 @@
#!/bin/bash
echo '
<?php $conn_str .= " user=postgres"; ?>' >> "./ext/pgsql/tests/config.inc"
-if [ -z "$ARM64" ]; then
+if [ -z "$ARM64" -o -z "$S390X"]; then
psql -c 'create database test;' -U postgres
fi