„.drone.yml“ hinzufügen
continuous-integration/drone Build is failing Details

main
michael 1 year ago
parent f16e3c9cae
commit af01e6bf6a

@ -0,0 +1,31 @@
kind: pipeline
type: docker
name: default
steps:
- name: skip_tls_clone
image: plugins/git
settings:
depth: 10
skip_verify: true
- name: setup-virtualenv
image: python:3.7-alpine
commands:
- pip install virtualenv
- virtualenv /tmp/shared/.venv
- source /tmp/shared/.venv/bin/activate
- pip install -r requirements.txt
volumes:
- name: shared
path: /tmp/shared
- name: test
image: python:3.7-alpine
commands:
- source /tmp/shared/.venv/bin/activate
- make test
- echo $$DRONE_COMMIT_SHA > .tags
volumes:
- name: shared
path: /tmp/shared
Loading…
Cancel
Save