-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
31 lines (30 loc) · 1.06 KB
/
config.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
#
# Get started for java: https://circleci.com/docs/2.0/language-java
# Circleci docker & java: https://circleci.com/docs/2.0/building-docker-images
# Environment variables: https://circleci.com/docs/2.0/env-vars
# Verify circleci *.yml: https://circleci.com/docs/2.0/local-cli
#
version: 2
jobs:
assemble_jar:
docker:
- image: maven:3.6.0-jdk-8
environment:
MAVEN_OPTS: |
-Xmx256m
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS
-Dorg.slf4j.simpleLogger.showDateTime=true
JAVA_HOME: "/docker-java-home"
steps:
- checkout
- run:
name: Build java sources (including integration tests)
command: |
mvn -P qulice,integration-tests clean install -DLL.yandex.user=${EMAIL_USER} -DLL.yandex.pass=${EMAIL_PASS} -DLL.yandex.to.user=${EMAIL_TO}
mvn -Psonar sonar:sonar -Dsonar.organization=dgroup-github -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONAR_LOGIN}
bash <(curl -s https://codecov.io/bash)
workflows:
version: 2
build:
jobs:
- assemble_jar