.gitlab-ci.yml 873 Bytes
Newer Older
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
2
3
4
stages:
- windows
- linux
vonWenckstern's avatar
vonWenckstern committed
5

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
6
7
8
9
masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
10
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml -U
11
  - cat target/site/jacoco/index.html
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
12
  - mvn package sonar:sonar -s settings.xml
13
14
15
  only:
  - master
  
Evgeny Kusmenko's avatar
Evgeny Kusmenko 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 -U
#  tags:
#  - Windows10
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
22
23
24
25
26

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