Skip to content

Commit

Permalink
stop postgresql service in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrogr committed Sep 27, 2017
1 parent 472fca9 commit b40c64e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ services: docker
python:
- "3.6"

before_install:
# shutdown postgresql service so we can use the port
- sudo service postgresql stop
# wait for postgresql to shutdown
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done

install:
- pip install -r requirements_test.txt

Expand Down

0 comments on commit b40c64e

Please sign in to comment.