travis config fix
This commit is contained in:
		@@ -41,7 +41,7 @@ before_script:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
  - psql -c 'create database mpwo_test;' -U postgres
 | 
					  - 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
 | 
					  - sh test.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
after_script:
 | 
					after_script:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,8 +17,8 @@ services:
 | 
				
			|||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - 5001:5000
 | 
					      - 5001:5000
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - DATABASE_URL=postgres://postgres:postgres@api-db:5432/mpwo
 | 
					      - DATABASE_URL=postgres://postgres:postgres@mpwo-db:5432/mpwo
 | 
				
			||||||
      - DATABASE_TEST_URL=postgres://postgres:postgres@api-db:5432/mpwo_test
 | 
					      - DATABASE_TEST_URL=postgres://postgres:postgres@mpwo-db:5432/mpwo_test
 | 
				
			||||||
      - FLASK_APP=server.py
 | 
					      - FLASK_APP=server.py
 | 
				
			||||||
      - FLASK_DEBUG=1
 | 
					      - FLASK_DEBUG=1
 | 
				
			||||||
      - APP_SETTINGS=mpwo_api.config.TestingConfig
 | 
					      - APP_SETTINGS=mpwo_api.config.TestingConfig
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user