Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1506757352-practice
Commits
25ec4c7d
Commit
25ec4c7d
authored
Sep 24, 2019
by
Syahrul Ardiansyah
Browse files
Add chromedriver services gitlab-ci
parent
b531bec4
Pipeline
#20470
failed with stage
in 7 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
25ec4c7d
image
:
django:latest
before_script
:
-
apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev
-
pip install -r requirements.txt
-
python manage.py migrate
...
...
@@ -13,13 +14,7 @@ test:
-
python manage.py test
functional-test
:
before_script
:
-
apt-get update
-
apt-get -yqq install curl
-
curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /chrome.deb
-
dpkg -i /chrome.deb || apt-get install -yf
-
rm /chrome.deb
-
curl https://chromedriver.storage.googleapis.com/2.31/chromedriver_linux64.zip -o /usr/local/bin/chromedriver
-
chmod +x /usr/local/bin/chromedriver
services
:
-
blueimp/chromedriver
script
:
-
python functional_test.py
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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