5cb36d7f34
Because of historical reasons the pipeline file is still named drone.yaml (might be changed in future).
18 lines
436 B
YAML
18 lines
436 B
YAML
pipeline:
|
|
unittest:
|
|
image: python
|
|
commands:
|
|
- pip install -r requirements.txt
|
|
- python3 test_tmdb.py
|
|
|
|
build:
|
|
image: alpine
|
|
commands:
|
|
- apk add zip
|
|
- ./create_release.sh ${DRONE_COMMIT_SHA:0:8}
|
|
- ls *.mbp
|
|
|
|
upload:
|
|
image: uploader
|
|
project: tmdb-bot
|
|
artifact: lomion.tmdb.${DRONE_COMMIT_SHA:0:8}.mbp |