Force stop postgres

This commit is contained in:
apanizo 2018-08-09 13:13:13 +02:00
parent 026ff0e0f2
commit fbd427a73c
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ before_install:
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
# Shut down postgres because it blocks our db container's port map to :5432
- sudo service postgresql stop
# Wait for it to stop
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done
- docker-compose --version
- docker ps
# Needed to deploy pull request and releases