.gitlab-ci.yml 1.62 KB
Newer Older
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
Sascha Niklas Schneiders's avatar
Sascha Niklas Schneiders committed
2

3
stages:
4
- linux
5
- windows
vonWenckstern's avatar
vonWenckstern committed
6

7
8
9
10
masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script:
11
  - apt-get update -q && apt-get install -y -q g++ libhdf5-serial-dev libhdf5-dev libopenblas-dev
12
13
14
15
16
17
  - gcc --help
  - mvn -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
  - cat target/site/jacoco/index.html
  - mvn package sonar:sonar -s settings.xml
  only:
  - master
18

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
19
20
21
masterJobWindows:
  stage: windows
  script:
22
  - mvn -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -U
23
24
  only:
    - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
25
26
  tags:
  - Windows10
27

28
29
30
31
BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script:
32
  - apt-get update -q && apt-get install -y -q g++ libhdf5-serial-dev libhdf5-dev libopenblas-dev
33
34
35
36
  - mvn -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
  - cat target/site/jacoco/index.html
  except:
  - master
37
38
39
40

BranchJobWindows:
  stage: windows
  script:
41
  - mvn -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml -U
42
  - cat target/site/jacoco/index.html
43
44
  except:
  - master
45
46
  tags:
  - Windows10