This commit is contained in:
Alexander Hosking 2022-04-14 22:54:49 -04:00
parent 1866aedd9e
commit 013ae437f4

View File

@ -7,14 +7,14 @@ buiild job:
script: script:
- export PYTHONPATH=. - export PYTHONPATH=.
- export FLASK_APP=period - export FLASK_APP=period
- apt-get udate -qy - sudo apt-get update -qy
- apt-get install -y python3-dev python3-pip - sudo apt-get install -y python3-dev python3-pip
- pip3 install Flask gunicorn pytest pytest-cov - pip3 install Flask gunicorn pytest pytest-cov
- pytest tests --cov --cov-report term --cov-report html - pytest tests --cov --cov-report term --cov-report html
deploy job: deploy job:
stage: deploy stage: deploy
script: script:
- apt-get update -qy - sudo apt-get update -qy
- apt-get install curl -y - sudo apt-get install curl -y
- curl period.ahosking.com/reload?password=BananaHammocks - curl period.ahosking.com/reload?password=BananaHammocks