forked from RMLio/rmlmapper-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
38 lines (33 loc) · 1.15 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
stages:
- test
- test-oracle
variables:
# This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds.
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
# Postgres
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "YourSTRONG!Passw0rd"
# SQLServer
ACCEPT_EULA: "Y"
SA_PASSWORD: "YourSTRONG!Passw0rd"
cache:
key: ${CI_JOB_NAME}
paths:
- .m2/repository
test:
stage: test
image: maven:3.5.0-jdk-8
script:
- 'mvn $MAVEN_CLI_OPTS -Dtest=!Mapper_OracleDB_Test test'
test-oracle:
stage: test-oracle
image: gitlab.ilabt.imec.be:4567/rml/util/mvn-oracle-docker:latest
script:
- '/entrypoint.sh'
services:
- postgres:10.4
- name: microsoft/mssql-server-linux:latest
alias: sqlserver