Fakultas Ilmu Komputer UI

Commit 85b16b6f authored by Rani Lasma Uli's avatar Rani Lasma Uli
Browse files

update gitlab pipeline

parent f0796566
......@@ -31,7 +31,7 @@ Deployment:
url: $HEROKU_APP_HOST
FunctionalTest:
image: python:3.6
image: python:3.7
stage: functionalTest
before_script:
- wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
......@@ -48,8 +48,10 @@ FunctionalTest:
- unzip chromedriver_linux64.zip
- pip install -r requirements.txt
when: on_success
allow_failure: true
script:
- python manage.py test functional_tests
- python3 manage.py test functional_tests
after_script:
- heroku pg:reset DATABASE --app $HEROKU_NAME --confirm $HEROKU_NAME || true
- heroku run --app $HEROKU_NAME migrate || true
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