forked from RMLio/rmlmapper-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
28 lines (24 loc) · 963 Bytes
/
.gitlab-ci.yml
File metadata and controls
28 lines (24 loc) · 963 Bytes
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
image: maven:3.5.0-jdk-8
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
verify:
script:
- 'mvn $MAVEN_CLI_OPTS test'
services:
- postgres:10.4
- name: microsoft/mssql-server-linux:latest
alias: sqlserver