travisci-diff-postgres

-2 Removals
+2 Additions
dist: trusty
dist: xenial # default
sudo: required
sudo: required
addons:
addons:
postgresql: "10"
postgresql: "10"
apt:
apt:
packages:
packages:
- postgresql-10
- postgresql-10
- postgresql-client-10
- postgresql-client-10
env:
env:
global:
global:
- PGPORT=5433
- PGPORT=5432
services:
services:
- postgresql
- postgresql
before_install:
before_install:
- echo "==> Configuring postgres..."
- echo "==> Configuring postgres..."
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf
- sudo service postgresql restart
- sudo service postgresql restart
- while ! nc -z localhost $PGPORT; do sleep 0.1; done
- while ! nc -z localhost $PGPORT; do sleep 0.1; done
Editor
Clear
Export as PDF
Original Text
Changed Text