diff --git a/.travis.yml b/.travis.yml index d94e2a64..a6c6463b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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