Unverified Commit 741860d6 authored by Sergei Morozov's avatar Sergei Morozov

Merge branch 'bpo/2.9/#3447' into 2.9

parents 496e7e6d db124dbc
FROM debian:experimental-20180426
RUN apt-get update && \
apt-get install -y -t experimental --no-install-recommends \
postgresql-11 \
postgresql-client-11 \
&& \
rm -rf /var/lib/apt/lists/*
RUN echo "host all all all trust" >> /etc/postgresql/11/main/pg_hba.conf
RUN echo "listen_addresses='*'" >> /etc/postgresql/11/main/conf.d/listen.conf
EXPOSE 5432
CMD ["sleep", "inf"]
...@@ -6,9 +6,7 @@ echo "Preparing Postgres 11" ...@@ -6,9 +6,7 @@ echo "Preparing Postgres 11"
sudo service postgresql stop || true sudo service postgresql stop || true
sudo docker build -t postgres11 - < tests/travis/Dockerfile-postgres11 sudo docker run -d --name postgres11 -p 5432:5432 postgres:11.1
sudo docker run -d --name postgres11 -p 5432:5432 postgres11 sudo docker exec -i postgres11 bash <<< 'until pg_isready -U postgres > /dev/null 2>&1 ; do sleep 1; done'
sudo docker exec postgres11 service postgresql start
sudo docker exec -i postgres11 su -c psql postgres <<<"create database doctrine_tests"
echo "Postgres 11 ready" echo "Postgres 11 ready"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment