* use pg-promise native pg-connection-string to parse uri instead of ParseConfigParser.js. The allows for a more felxible uri for ssl and other params * Revert "use pg-promise native pg-connection-string to parse uri instead of ParseConfigParser.js. The allows for a more felxible uri for ssl and other params" This reverts commit a5926d3ff7b97f72bb0c5bced15f34942cd1a96d. * Updating travis postgres and removing unnecessary start of mongo-runner. Ensuring before_script and before_install matches the rest of travis
16 lines
455 B
Bash
Executable File
16 lines
455 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "[SCRIPT] Before Script :: Setup Parse DB for Postgres ${POSTGRES_MAJOR_VERSION}"
|
|
|
|
node -e 'require("./lib/index.js")'
|
|
greenkeeper-lockfile-update
|
|
|
|
psql -v ON_ERROR_STOP=1 -p 5433 --username "postgres" --dbname "${POSTGRES_DB}" <<-EOSQL
|
|
CREATE DATABASE parse_server_postgres_adapter_test_database;
|
|
\c parse_server_postgres_adapter_test_database;
|
|
CREATE EXTENSION postgis;
|
|
CREATE EXTENSION postgis_topology;
|
|
EOSQL
|