Skip to content
Snippets Groups Projects
Commit 66aeb2a9 authored by Pernille Nødtvedt Welle-Watne's avatar Pernille Nødtvedt Welle-Watne
Browse files

Update .gitlab-ci.yml

parent be7f22ab
No related branches found
No related tags found
4 merge requests!9Error 1,!7Boundary tests,!6Task 2 coverage test,!5Task 2 coverage test
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment