Commit 5bc35f65 authored by Antoine Thevenet's avatar Antoine Thevenet
Browse files

changed the gitlab ci to handle npm test

parent 7fff0404
Pipeline #14357 failed with stages
in 15 seconds
...@@ -2,7 +2,6 @@ image: alpine:3.8 ...@@ -2,7 +2,6 @@ image: alpine:3.8
stages: stages:
- build - build
- test
- deploy - deploy
build: build:
...@@ -24,24 +23,6 @@ build: ...@@ -24,24 +23,6 @@ build:
paths: paths:
- target/clif-webui-*.war - target/clif-webui-*.war
test:
stage: test
services:
- mongo:latest
dependencies:
- build
before_script:
- docker info
script:
- docker run -t -i maven latest -c bash
- docker container run alpine ls -l
- cat /etc/os-release
- apk add --update npm
- npm install
- npm i mocha -g
- mocha --timeout 10000 --exit
pages: pages:
stage: deploy stage: deploy
only: only:
......
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