mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 17:09:44 +00:00
Detach couch container
This commit is contained in:
parent
35a48e11eb
commit
9eaaf4cee4
2 changed files with 5 additions and 4 deletions
|
|
@ -7,11 +7,16 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
COUCHDB_USER: admin
|
COUCHDB_USER: admin
|
||||||
COUCHDB_PASSWORD: password
|
COUCHDB_PASSWORD: password
|
||||||
|
detach: true
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
commands:
|
commands:
|
||||||
|
# Wait for couch
|
||||||
|
- until curl 'http://localhost:5984' ; do sleep 1 ; done
|
||||||
|
# Configure settings
|
||||||
- export HUMULUS_SETTINGS="$(pwd)/testsettings.py"
|
- export HUMULUS_SETTINGS="$(pwd)/testsettings.py"
|
||||||
|
# Run tests
|
||||||
- pip install coverage pytest
|
- pip install coverage pytest
|
||||||
- pip install -e .
|
- pip install -e .
|
||||||
- coverage run -m pytest
|
- coverage run -m pytest
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
FLASK_DEBUG = 1
|
|
||||||
SECRET_KEY = b'dev'
|
SECRET_KEY = b'dev'
|
||||||
FLASK_ENV = 'development'
|
|
||||||
TEMPLATES_AUTO_RELOAD = True
|
|
||||||
|
|
||||||
COUCH_URL='http://localhost:5984'
|
COUCH_URL='http://localhost:5984'
|
||||||
COUCH_USERNAME='admin'
|
COUCH_USERNAME='admin'
|
||||||
COUCH_PASSWORD='password'
|
COUCH_PASSWORD='password'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue