diff --git a/.drone.yml b/.drone.yml index 692cddd..2c18634 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,12 +11,14 @@ services: steps: - name: test image: python:3.6 + environment: + COUCH_URL: 'http://couchdb:5984' commands: # Install pre-requisites - pip install coverage pytest - pip install -e . # Wait for couch - - until curl 'http://couchdb:5984' ; do sleep 1 ; done + - until curl "$COUCH_URL" ; do sleep 1 ; done # Run tests - coverage run -m pytest - coverage report -m