.gitlab-ci.yml 820 Bytes
Newer Older
Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
Evgeny Kusmenko's avatar
sonar  
Evgeny Kusmenko committed
2 3
#

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
4
stages:
5
- build
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
6

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
7
masterJobLinux:
8
  stage: build
vonWenckstern's avatar
vonWenckstern committed
9
  image: maven:3-jdk-8
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
10
  script: 
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
11
  - 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
12
  - mvn package sonar:sonar -s settings.xml
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
13 14
  only:
  - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
15 16
  tags:
  - se
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
17
  
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
18
masterJobWindows:
19
  stage: build
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
20 21
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
22 23
  tags:
  - Windows10
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
24 25

BranchJobLinux:
26
  stage: build
vonWenckstern's avatar
vonWenckstern committed
27
  image: maven:3-jdk-8
28
  before_script:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
29 30
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
31
  except:
32 33
  - master
  tags:
Jean Meurice's avatar
Jean Meurice committed
34
  - se