Commit 66aeb2a9 authored by Pernille Nødtvedt Welle-Watne's avatar Pernille Nødtvedt Welle-Watne
Browse files

Update .gitlab-ci.yml

parent be7f22ab
Pipeline #113580 failed with stages
in 36 seconds
......@@ -3,18 +3,18 @@ variables:
HEROKU_APP_NAME_FRONTEND: tdt4242-base-secfit
stages:
# - test
- test
- deploy
#test:
# image: python:3
# stage: test
# script:
test:
image: python:3
stage: test
script:
# this configures Django application to use attached postgres database that is run on `postgres` host
# - cd backend/secfit
# - apt-get update -qy
# - pip install -r requirements.txt
# - python manage.py test
- cd backend/secfit
- apt-get update -qy
- pip install -r requirements.txt
- python manage.py test
deploy:
image: ruby
......@@ -26,6 +26,7 @@ deploy:
- gem install dpl
- dpl --provider=heroku --app=$HEROKU_APP_NAME_BACKEND --api-key=$HEROKU_AUTH_TOKEN
- dpl --provider=heroku --app=$HEROKU_APP_NAME_FRONTEND --api-key=$HEROKU_AUTH_TOKEN
only:
- master
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment