Skip to content
Snippets Groups Projects
.gitlab-ci.yml 480 B
Newer Older
Pernille Welle-Watne's avatar
Pernille Welle-Watne committed
image: python:3
test:
  script:
Pernille Welle-Watne's avatar
Pernille Welle-Watne committed
  # this configures Django application to use attached postgres database that is run on `postgres` host
    - - apt-get update -qy
    - cd backend/secfit
    - pip install -r requirements.txt
    - python manage.py test
Pernille Welle-Watne's avatar
Pernille Welle-Watne committed
staging:
  type: deploy
  image: ruby
  script:
    - apt-get update -qy
    - apt-get install -y ruby-dev
    - gem install dpl
    - dpl --provider=heroku --app=tdt4237 --api-key=$HEROKU_STAGING_API_KEY
Pernille Welle-Watne's avatar
Pernille Welle-Watne committed
  only: