Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606885025-practice
Commits
85b16b6f
Commit
85b16b6f
authored
Nov 22, 2019
by
Rani Lasma Uli
Browse files
update gitlab pipeline
parent
f0796566
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
85b16b6f
...
...
@@ -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
-
python
3
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment