cycles/.gitlab-ci.yml
2022-04-15 03:24:16 +00:00

21 lines
498 B
YAML

stages:
- build
- deploy
buiild job:
stage: build
image: debian:jessie
script:
- export PYTHONPATH=.
- export FLASK_APP=period
- apt-get update -qy
- apt-get install -y python3-dev python3-pip
- pip3 install Flask gunicorn pytest pytest-cov
- pytest tests --cov --cov-report term --cov-report html
deploy job:
stage: deploy
script:
- sudo apt-get update -qy
- sudo apt-get install curl -y
- curl period.ahosking.com/reload?password=BananaHammocks