diff --git a/.drone.yml b/.drone.yml index a0177de..d0bae99 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,9 +6,10 @@ steps: - name: pytest image: python:3.6-alpine3.13 commands: - - wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 - - - source $HOME/.poetry/env && poetry install - - source $HOME/.poetry/env && poetry run pytest + - apk add --no-cache g++ libffi-dev + - wget -O- https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python3 - + - /root/.local/bin/poetry install + - /root/.local/bin/poetry run pytest - name: docker image: plugins/docker