diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-25 11:14:56 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-25 11:15:27 +0200 |
commit | a8b4e40fa225f4f2524cc29c37119d00005ccca1 (patch) | |
tree | a4a8e37b6105f76fd976944b9001d36569058d2e /travis/setup-pgsql.sh | |
parent | 184ba0c91c3b688538d0274625241c640a8952eb (diff) | |
download | php-git-a8b4e40fa225f4f2524cc29c37119d00005ccca1.tar.gz |
Simplify travis setup scripts
Reduce duplication.
Diffstat (limited to 'travis/setup-pgsql.sh')
-rwxr-xr-x | travis/setup-pgsql.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/travis/setup-pgsql.sh b/travis/setup-pgsql.sh new file mode 100755 index 0000000000..108f47db25 --- /dev/null +++ b/travis/setup-pgsql.sh @@ -0,0 +1,4 @@ +#!/bin/bash +echo ' +<?php $conn_str .= " user=postgres"; ?>' >> "./ext/pgsql/tests/config.inc" +psql -c 'create database test;' -U postgres |