-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
43 lines (37 loc) · 812 Bytes
/
.gitlab-ci.yml
File metadata and controls
43 lines (37 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
stages:
- verify
- build
- test
cache:
paths:
- frontend/node_modules
lint_frontend:
image: "node:10.6"
stage: verify
script:
- cd frontend/
- npm install
- npm run lint
build_app:
image: "maven:3.6.1-slim"
stage: build
script: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -V
run_frontend_tests:
image: node:10.16
stage: test
script:
- cd frontend
- npm run test
run_backend_tests:
image: "maven:3.6.1-slim"
stage: test
script:
- mvn verify -P skip-frontend-build,arquillian-wildfly-managed
artifacts:
paths:
- target/CMD.war
run_docker_build:
image: "tiangolo/docker-with-compose:latest"
stage: test
script:
- docker-compose build