.gitlab-ci.yml 955 Bytes
Newer Older
Bernhard Rumpe's avatar
Bernhard Rumpe committed
1
# (c) https://github.com/MontiCore/monticore  
2

3 4 5 6 7 8 9
stages:
- windows
- linux

masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
10 11
  script:
  - apt-get update -q && apt-get install -y -q g++ libhdf5-serial-dev libhdf5-dev libopenblas-dev
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
12
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
13 14
  - cat target/site/jacoco/index.html
  - mvn package sonar:sonar -s settings.xml
15 16 17 18 19
  only:
  - master
  
masterJobWindows:
  stage: windows
20
  script:
21 22 23 24 25 26 27 28 29
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
  tags:
  - Windows10

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
30
  - cat target/site/jacoco/index.html
31 32
  except:
  - master