2
0

copy travis configs over from pgx

This commit is contained in:
Jacob Powers
2020-06-09 18:16:23 -07:00
parent 3e586004db
commit 96f49eb89b
3 changed files with 62 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# source: https://github.com/jackc/pgx/blob/master/travis/before_script.bash
set -eux
if [ "${PGVERSION-}" != "" ]
then
psql -U postgres -c 'create database pgx_test'
psql -U postgres pgx_test -c 'create domain uint64 as numeric(20,0)'
psql -U postgres -c "create user pgx_md5 SUPERUSER PASSWORD 'secret'"
fi