forked from igloo-project/bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
48 lines (43 loc) · 827 Bytes
/
.gitlab-ci.yml
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
44
45
46
47
48
stages:
- prepare
- build
- test
- analyze
- deploy
maven-prepare:
stage: prepare
script:
- "./ci/config-test.py"
artifacts:
paths:
- gitlab-ci.build.conf
maven-build:
stage: build
environment: staging
script:
- "mvn -DskipTests clean compile"
maven-test:
stage: test
environment: staging
script:
- "source gitlab-ci.build.conf"
- "./ci/maven-allure.sh"
maven-deploy:
stage: deploy
environment: staging
script:
- "mvn deploy -DskipTests -DperformRelease"
only:
- /^master$/
- /^dev$/
- /^ft-.*-deploy$/
- /^rl-.*$/
- /^hf-.*$/
sonar-analyze:
stage: analyze
environment: staging
script:
- "source gitlab-ci.build.conf"
- mvn clean verify sonar:sonar
-DskipTests
-Dsonar.host.url="https://sonar.tools.kobalt.fr"