summaryrefslogtreecommitdiff
path: root/travis/setup-pgsql.sh
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-23 12:58:21 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-25 16:37:46 +0200
commitbd379df48c1568b19d267f642154f386bd864cba (patch)
treed86b152eb5495fc49073c75b894d65201c3b98e6 /travis/setup-pgsql.sh
parentf1848a4b3f807d21415c5a334b461d240b2a83af (diff)
downloadphp-git-bd379df48c1568b19d267f642154f386bd864cba.tar.gz
Add ARM64 CI to Travis
We need to install a number of additional packages that are installed by default on the AMD64 workers. We also have to manually set up the MySQL user. For now we don't set up Postgres -- if anyone wants to figure that out, it would be great ;) Log redirections in compile.sh are removed, because /dev/stdout is not accessible. We don't see to use this anyway.
Diffstat (limited to 'travis/setup-pgsql.sh')
-rwxr-xr-xtravis/setup-pgsql.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/travis/setup-pgsql.sh b/travis/setup-pgsql.sh
index 108f47db25..9172356265 100755
--- a/travis/setup-pgsql.sh
+++ b/travis/setup-pgsql.sh
@@ -1,4 +1,6 @@
#!/bin/bash
echo '
<?php $conn_str .= " user=postgres"; ?>' >> "./ext/pgsql/tests/config.inc"
-psql -c 'create database test;' -U postgres
+if [ -z "$ARM64" ]; then
+ psql -c 'create database test;' -U postgres
+fi