travis config fix
This commit is contained in:
parent
dbc68de5f2
commit
63aefce0ca
@ -41,7 +41,7 @@ before_script:
|
||||
|
||||
script:
|
||||
- psql -c 'create database mpwo_test;' -U postgres
|
||||
- docker-compose -f docker-compose-ci.yml run api flask init_db
|
||||
- docker-compose -f docker-compose-ci.yml run mpwo-api flask init_db
|
||||
- sh test.sh
|
||||
|
||||
after_script:
|
||||
|
@ -17,8 +17,8 @@ services:
|
||||
ports:
|
||||
- 5001:5000
|
||||
environment:
|
||||
- DATABASE_URL=postgres://postgres:postgres@api-db:5432/mpwo
|
||||
- DATABASE_TEST_URL=postgres://postgres:postgres@api-db:5432/mpwo_test
|
||||
- DATABASE_URL=postgres://postgres:postgres@mpwo-db:5432/mpwo
|
||||
- DATABASE_TEST_URL=postgres://postgres:postgres@mpwo-db:5432/mpwo_test
|
||||
- FLASK_APP=server.py
|
||||
- FLASK_DEBUG=1
|
||||
- APP_SETTINGS=mpwo_api.config.TestingConfig
|
||||
|
Loading…
Reference in New Issue
Block a user