.gitlab-ci.yml 1.11 KB
Newer Older
Alexander David Hellwig's avatar
Alexander David Hellwig committed
1
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
2
- windows
Alexander David Hellwig's avatar
Alexander David Hellwig committed
3
- linux
4
- integration
vonWenckstern's avatar
vonWenckstern committed
5

Alexander David Hellwig's avatar
Alexander David Hellwig committed
6
7
8
9
10
masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
11
  - cat target/site/jacoco/index.html
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
12
  - mvn package sonar:sonar -s settings.xml
Alexander David Hellwig's avatar
Alexander David Hellwig committed
13
14
15
  only:
  - master

Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
16
17
18
19
20
21
masterJobWindows:
  stage: windows
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
  tags:
  - Windows10
Alexander David Hellwig's avatar
Alexander David Hellwig committed
22
23
24
25

BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
26
27
28
  artifacts:
    paths:
    - target/generated-sources-cmake/
Alexander David Hellwig's avatar
Alexander David Hellwig committed
29
30
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
31
  - cat target/site/jacoco/index.html
Alexander David Hellwig's avatar
Alexander David Hellwig committed
32
  except:
33
34
35
36
  - master

IntegrationJob:
  stage: integration
37
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emam2middleware/ema-ros-kinetic
38
39
40
41
42
  dependencies:
    - BranchJobLinux
  except:
  - master
  script:
43
  - ./src/test/bash/integrationTestRos.sh