1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 17:09:44 +00:00
humulus/.drone.yml
2019-06-27 13:13:28 -06:00

23 lines
469 B
YAML

kind: pipeline
name: default
services:
- name: couchdb
image: couchdb:2.3
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: password
steps:
- name: test
image: python:3.6
commands:
# Wait for couch
- until curl 'http://couchdb: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
- coverage report -m