.gitlab-ci.yml 703 Bytes
Newer Older
ella's avatar
ella committed
1
2
3
variables:
  GIT_STRATEGY: clone
  
naji's avatar
naji committed
4
5
6
stages:
  - test
  - compile
ella's avatar
ella committed
7
8
  - test_maven
  - package
ella's avatar
ella committed
9

naji's avatar
naji committed
10
11
.machine: &runner-shell-vitam-validator
  tags:
ella's avatar
ella committed
12
    - vitam, validator
naji's avatar
naji committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

test_stage:dev:
  stage: test
  only:
    - master
  <<: *runner-shell-vitam-validator
  script:
    - pwd
    - ls -la
  dependencies: []

compile_stage:dev:
  stage: compile
  only:
    - master
  <<: *runner-shell-vitam-validator
  script:
    - ls
    # enter your commande to compile project
    #- mvn clean install
  dependencies: []
ella's avatar
ella committed
34
35
36
37
38
39
40
41
42
43
44

test_maven_stage:dev:
  stage: test_maven
  only:
    - master
  <<: *runner-shell-vitam-validator
  script:
    - ls
    # enter your commande to test project
    #- mvn test
  dependencies: []
ella's avatar
ella committed
45