Fakultas Ilmu Komputer UI

Commit 25ec4c7d authored by Syahrul Ardiansyah's avatar Syahrul Ardiansyah
Browse files

Add chromedriver services gitlab-ci

parent b531bec4
Pipeline #20470 failed with stage
in 7 minutes and 19 seconds
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
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