.gitlab-ci.yml 1.01 KB
Newer Older
1 2 3 4 5 6 7
#
# (c) https://github.com/MontiCore/monticore
#
# The license generally applicable for this project
# can be found under https://github.com/MontiCore/monticore.
#

Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
8
# (c) https://github.com/MontiCore/monticore
9

10
stages:
11
 #- windows
12
- linux
vonWenckstern's avatar
vonWenckstern committed
13

14 15 16 17
masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
18
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
19 20 21
  - cat target/site/jacoco/index.html
  - mvn package sonar:sonar -s settings.xml

22 23
  only:
  - master
24
  
25 26 27 28 29 30
#masterJobWindows:
#  stage: windows
#  script: 
#  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
#  tags:
#  - Windows10_OS
31 32 33 34 35 36

BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
37
  - cat target/site/jacoco/index.html
38 39
  except:
  - master
40