34 lines
861 B
YAML
34 lines
861 B
YAML
|
|
#
|
||
|
|
# Copyright (c) 2015 Bosch Software Innovations GmbH and others.
|
||
|
|
#
|
||
|
|
# All rights reserved. This program and the accompanying materials
|
||
|
|
# are made available under the terms of the Eclipse Public License v1.0
|
||
|
|
# which accompanies this distribution, and is available at
|
||
|
|
# http://www.eclipse.org/legal/epl-v10.html
|
||
|
|
#
|
||
|
|
|
||
|
|
machine:
|
||
|
|
java:
|
||
|
|
version: oraclejdk8
|
||
|
|
environment:
|
||
|
|
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
|
||
|
|
dependencies:
|
||
|
|
cache_directories:
|
||
|
|
- "~/.embedmongo"
|
||
|
|
override:
|
||
|
|
- mvn install -DskipTests
|
||
|
|
test:
|
||
|
|
override:
|
||
|
|
- sh sonarCircleCi.sh
|
||
|
|
post:
|
||
|
|
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
|
||
|
|
- find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
|
||
|
|
general:
|
||
|
|
artifacts:
|
||
|
|
- "*.jar"
|
||
|
|
- "pom.xml"
|
||
|
|
notify:
|
||
|
|
webhooks:
|
||
|
|
# gitter hook
|
||
|
|
- url: https://webhooks.gitter.im/e/a20a6bc2bda5a8a77d39
|