.gitlab-ci.yml 1.37 KB
Newer Older
Theresa Täuber's avatar
Theresa Täuber committed
1
#
Christoph von Oy's avatar
Christoph von Oy committed
2

ham's avatar
CI  
ham committed
3
stages:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
4
- windows
hengwen's avatar
hengwen committed
5
- linux
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
6
- integration-test
ham's avatar
CI  
ham committed
7

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#masterJobLinux:
#  stage: linux
#  image: maven:3.6-jdk-8
#  before_script:
#  - apt-get update
#  - apt-get install -y openjfx
#  script: 
#  - mv lib/fmu_for_linux/*.fmu lib/
#  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy sonar:sonar --settings settings.xml
##  - cat report/target/coverage-report/html/index.html
#  only:
#  - master
 
masterJobWindows:
  stage: windows
  script:
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
  tags:
  - Windows10
Christoph von Oy's avatar
Christoph von Oy committed
27
28
  only:
  - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
29
  
hengwen's avatar
hengwen committed
30
31
#branchJobWindows:
#  stage: windows
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
32
33
#  script:
#  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
hengwen's avatar
hengwen committed
34
35
#  tags:
#  - Windows10
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
36
37
38
#  except:
#  - master

hengwen's avatar
hengwen committed
39
40
BranchJobLinux:
  stage: linux
hengwen's avatar
hengwen committed
41
  image: hwzzz/openjdk-openjfx:latest
hengwen's avatar
hengwen committed
42
43
44
45
46
47
48
  script:
  - mv lib/fmu_for_linux/*.fmu lib/
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
  - cat report/target/coverage-report/html/index.html
  except:
  - master

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
49
50
51
52
53
54
55
#IntegrateionTest:
#  tags:
#    - docker
#  stage: integration-test
#  script:
#    - cd runner
#    - ./run_test.sh
Christoph von Oy's avatar
Christoph von Oy committed
56
#  except:
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
57
#    - master