Skip to content

Commit

Permalink
handle stop error
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Oliveros <jose.oliveros.1983@gmail.com>
  • Loading branch information
joliveros committed Feb 27, 2021
1 parent f46c807 commit fbefbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test:
export DATABASE_PASSWORD=postgres
export DATABASE_PORT=5432
export DATABASE_USER=postgres
docker rm -f postgis || true
docker rm -f postgis 2> /dev/null || true
docker run --name postgis --rm -p $DATABASE_HOST:5432:5432 -e POSTGRES_PASSWORD=$DATABASE_PASSWORD -d mdillon/postgis:9.6
docker run $(ORG)/$(REPO):${TAG} bash -c "python ./manage.py test --no-input"
docker stop postgis
Expand Down

0 comments on commit fbefbdf

Please sign in to comment.