.gitlab-ci.yml 935 Bytes
Newer Older
Jean Meurice's avatar
Jean Meurice committed
1 2 3 4 5
#
# (c) https://github.com/MontiCore/monticore
#
# The license generally applicable for this project
# can be found under https://github.com/MontiCore/monticore.
Evgeny Kusmenko's avatar
sonar  
Evgeny Kusmenko committed
6 7
#

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
8
stages:
9
- build
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
10

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
11
masterJobLinux:
12
  stage: build
vonWenckstern's avatar
vonWenckstern committed
13
  image: maven:3-jdk-8
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
14
  script: 
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
15
  - 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
16
  - mvn package sonar:sonar -s settings.xml
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
17 18
  only:
  - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
19 20
  tags:
  - se
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
21
  
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
22
masterJobWindows:
23
  stage: build
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
24 25
  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
26 27
  tags:
  - Windows10
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
28 29

BranchJobLinux:
30
  stage: build
vonWenckstern's avatar
vonWenckstern committed
31
  image: maven:3-jdk-8
32
  before_script:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
33 34
  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
35
  except:
36 37
  - master
  tags:
Jean Meurice's avatar
Jean Meurice committed
38
  - se