Skip to content

Commit 3d4c6ab

Browse files
committed
travis with local postgres setup
1 parent fefbf97 commit 3d4c6ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ install:
3838

3939
script:
4040
- docker-compose up --build --detach firebase_deploy
41-
- docker build --tag mapswipe_postgres --file postgres/Dockerfile-dev postgres/
42-
- docker run --detach --publish 5432:5432 --name postgres -e POSTGRES_DB="$POSTGRES_DB" -e POSTGRES_USER="$POSTGRES_USER" -e POSTGRES_PASSWORD="$POSTGRES_PASSWORD" mapswipe_postgres
41+
- docker build --tag postgres --file postgres/Dockerfile-dev postgres/
42+
- docker run --detach --publish 5432:5432 --name postgres -e POSTGRES_DB="$POSTGRES_DB" -e POSTGRES_USER="$POSTGRES_USER" -e POSTGRES_PASSWORD="$POSTGRES_PASSWORD" postgres
4343
- docker-compose run mapswipe_workers python -m unittest tests/integration/test_gdal.py
4444
# - docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/integration/
4545
# - TODO: Run black and flake8

0 commit comments

Comments
 (0)