Commit 3a99bec7 authored by Florent Chehab's avatar Florent Chehab

Updated gitlab ci acccordingly

parent 880ef9c0
Pipeline #38002 failed with stages
in 8 minutes and 53 seconds
# In CI we use the latest docker images.
stages:
- check
- test
......@@ -40,12 +42,9 @@ check_back:
check_front:
<<: *only-default
stage: check
image: node:10.15.1-alpine
cache:
paths:
- frontend/node_modules/
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend
before_script:
- cd frontend && npm i
- cd frontend && cp -R /usr/src/deps/node_modules .
script:
- npm run build
tags:
......@@ -70,12 +69,9 @@ test_back:
test_frontend:
<<: *only-default
stage: test
image: node:10.15.1-alpine
cache:
paths:
- frontend/node_modules/
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend
before_script:
- cd frontend && npm i
- cd frontend && cp -R /usr/src/deps/node_modules .
script:
- npm run test
tags:
......@@ -93,12 +89,9 @@ flake8:
eslint:
<<: *only-default
stage: lint
image: node:10.15.1-alpine
cache:
paths:
- frontend/node_modules/
image: registry.gitlab.utc.fr/rex-dri/rex-dri/frontend
before_script:
- cd frontend && npm i
- cd frontend && cp -R /usr/src/deps/node_modules .
script:
- npm run lint
tags:
......
Markdown is supported
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