Travis postgres update: removing unnecessary start of mongo-runner (#6594)

* 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
This commit is contained in:
Corey
2020-04-23 11:28:40 -04:00
committed by GitHub
parent 0075c660ee
commit e6e5a8c578
3 changed files with 14 additions and 4 deletions

View File

@@ -1,13 +1,15 @@
#!/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