.gitlab-ci.yml 867 Bytes
Newer Older
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore
2
3
#
stages:
4
- windows
5
6
7
8
9
10
- linux

masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
11
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy -U --settings settings.xml
12
13
  - cat target/site/jacoco/index.html
  - mvn package sonar:sonar -s settings.xml
14
15
  only:
  - master
16
  
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
17
18
19
masterJobWindows:
  stage: windows
  script:
20
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install -U --settings settings.xml
Svetlana Pavlitskaya's avatar
Svetlana Pavlitskaya committed
21
22
  tags:
  - Windows10
23
24
25
26
27

BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
28
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install -U --settings settings.xml
29
  - cat target/site/jacoco/index.html
30
31
  except:
  - master
32