Skip to content

Commit

Permalink
Merge pull request #3447 from morozov/postgress-11
Browse files Browse the repository at this point in the history
Replaced custom docker image for PostgreSQL with the official one
  • Loading branch information
morozov committed Feb 3, 2019
2 parents 7f79d04 + 0a165b4 commit 1c75231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
15 changes: 0 additions & 15 deletions tests/travis/Dockerfile-postgres11

This file was deleted.

6 changes: 2 additions & 4 deletions tests/travis/install-postgres-11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ echo "Preparing Postgres 11"

sudo service postgresql stop || true

sudo docker build -t postgres11 - < tests/travis/Dockerfile-postgres11
sudo docker run -d --name postgres11 -p 5432:5432 postgres11
sudo docker exec postgres11 service postgresql start
sudo docker exec -i postgres11 su -c psql postgres <<<"create database doctrine_tests"
sudo docker run -d --name postgres11 -p 5432:5432 postgres:11.1
sudo docker exec -i postgres11 bash <<< 'until pg_isready -U postgres > /dev/null 2>&1 ; do sleep 1; done'

echo "Postgres 11 ready"

0 comments on commit 1c75231

Please sign in to comment.