maubot-tmdb/drone.yaml
lomion 2eb62a790f Added flake to drone.yaml
Changes proposed by flake
2021-03-16 16:35:02 +01:00

19 lines
481 B
YAML

pipeline:
unittest:
image: python
commands:
- pip install -r requirements.txt
- pip install flake8
- python3 test_tmdb.py
- flake8 --ignore=E501
build:
image: alpine
commands:
- apk add zip
- ./create_release.sh ${DRONE_COMMIT_SHA:0:8}
upload:
image: uploader
project: tmdb-bot
artifact: lomion.tmdb.${DRONE_COMMIT_SHA:0:8}.mbp