.gitlab-ci.yml 1.08 KB
Newer Older
1
2
3
4
5
6
7
8
#
#
# (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
9
# (c) https://github.com/MontiCore/monticore
10
11
#

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
12
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
13
#- test
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
14
15
- windows
- linux
Thomas Michael Timmermanns's avatar
Thomas Michael Timmermanns committed
16
17


Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
18
19
#include:
#  template: License-Management.gitlab-ci.yml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
20
  
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
21
22
23
#license_management:
#  variables:
#    MAVEN_CLI_OPTS: --settings=settings.xml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
24

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
25
26
27
28
29
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
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
30
  - mvn package sonar:sonar -s settings.xml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
31
32
33
34
35
36
37
38
  only:
  - master
  
masterJobWindows:
  stage: windows
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
  tags:
Malte Heithoff's avatar
Malte Heithoff committed
39
  - Windows10_OS
vonWenckstern's avatar
vonWenckstern committed
40

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
41
42
43
44
45
46
47
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
  except:
  - master