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: ...@@ -3,18 +3,18 @@ variables:
HEROKU_APP_NAME_FRONTEND: tdt4242-base-secfit HEROKU_APP_NAME_FRONTEND: tdt4242-base-secfit
stages: stages:
# - test - test
- deploy - deploy
#test: test:
# image: python:3 image: python:3
# stage: test stage: test
# script: script:
# this configures Django application to use attached postgres database that is run on `postgres` host # this configures Django application to use attached postgres database that is run on `postgres` host
# - cd backend/secfit - cd backend/secfit
# - apt-get update -qy - apt-get update -qy
# - pip install -r requirements.txt - pip install -r requirements.txt
# - python manage.py test - python manage.py test
deploy: deploy:
image: ruby image: ruby
...@@ -26,6 +26,7 @@ deploy: ...@@ -26,6 +26,7 @@ deploy:
- gem install dpl - gem install dpl
- dpl --provider=heroku --app=$HEROKU_APP_NAME_BACKEND --api-key=$HEROKU_AUTH_TOKEN - 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 - 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