diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99cc5a46507adb3a11e85314771c8f59dd1a5f28..7588cdce36afae1130a6ab834772711f20a748ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,23 @@ stages: - - test + - test-frontend + - test-backend - staging test-frontend: image: node:latest - stage: test + stage: test-frontend script: # Configure browser - apt-get update -yqqq - - apt-get install -yqq xvfb - - apt-get install iceweasel -yqq + #- apt-get install -yqq xvfb + #- apt-get install iceweasel -yqq - apt-get install dbus-x11 -yqq - Xvfb :99 -screen 0 1280x720x24 -ac & - export DISPLAY=:99 - export $(dbus-launch) # Install dependencies - - npm install + #- npm install - npm install -g testcafe - testcafe --list-browsers @@ -25,7 +26,7 @@ test-frontend: test-backend: image: python:3.8 - stage: test + stage: test-backend script: - cd backend/secfit - apt-get update -qy