20 lines
499 B
YAML
20 lines
499 B
YAML
pipeline:
|
|
unittest:
|
|
image: python
|
|
commands:
|
|
- pip install -r requirements.txt
|
|
- pip install flake8
|
|
- python3 test_tmdb.py
|
|
- flake8 --ignore=E501 --exclude=__init__.py,test_tmdb.py
|
|
|
|
build:
|
|
image: alpine
|
|
commands:
|
|
- apk add zip
|
|
- ./create_release.sh ${CI_COMMIT_SHA:0:8}
|
|
|
|
upload:
|
|
image: uploader
|
|
project: tmdb-bot
|
|
artifact: lomion.tmdb.${CI_COMMIT_SHA:0:8}.mbp
|