lockbox/.drone.yml

29 lines
425 B
YAML

kind: pipeline
name: default
type: docker
pipeline:
setup:
image: python
commands:
- pip install -r requirements_test.txt
- ./scripts/CI/setup.sh
unittest:
image: python
commands:
- ./scripts/CI/test.sh
static analysis:
image: python
commands:
- ./scripts/CI/lint.sh
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_password