1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 20:59:41 +00:00

Detach couch container

This commit is contained in:
Emma 2019-06-27 13:07:21 -06:00
parent 35a48e11eb
commit 9eaaf4cee4
2 changed files with 5 additions and 4 deletions

View file

@ -7,11 +7,16 @@ steps:
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: password
detach: true
- name: test
image: python:3.6
commands:
# Wait for couch
- until curl 'http://localhost:5984' ; do sleep 1 ; done
# Configure settings
- export HUMULUS_SETTINGS="$(pwd)/testsettings.py"
# Run tests
- pip install coverage pytest
- pip install -e .
- coverage run -m pytest

View file

@ -1,8 +1,4 @@
FLASK_DEBUG = 1
SECRET_KEY = b'dev'
FLASK_ENV = 'development'
TEMPLATES_AUTO_RELOAD = True
COUCH_URL='http://localhost:5984'
COUCH_USERNAME='admin'
COUCH_PASSWORD='password'