Skip to content
Snippets Groups Projects
Commit 6ca2d54b authored by Sverre Frogner Haugen's avatar Sverre Frogner Haugen
Browse files

Made.gitlab-ci.yml file

parent e7f05856
No related branches found
No related tags found
No related merge requests found
Pipeline #273435 failed
stages:
- build
- test
build:
stage: build
image: node:latest
before_script:
- npm install -g @vue/cli
- npm ci
script:
- npm run build
artifacts:
paths:
- ./
unit_test:
stage: test
image: node:latest
before_script:
- npm ci
script:
- npm run test:unit
dependencies:
- build
e2e_tests:
stage: test
image: node:latest
before_script:
- apt-get update -qy
- apt-get install -y xvfb
- npm install -g @vue/cli
- apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y
- npm ci
script:
- ls
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- export DISPLAY=:99
- npm run serve &
- npm run test:e2e
dependencies:
- build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment