* Start rabbitmq + managment api Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Fix syntax Signed-off-by: SirWayne <dennis.melzer@bosch-si.com> * Remove mongo db cache Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
38 lines
923 B
YAML
38 lines
923 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
|
|
services:
|
|
- rabbitmq-server
|
|
environment:
|
|
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
|
|
pre:
|
|
- sudo rabbitmq-plugins enable rabbitmq_management
|
|
|
|
dependencies:
|
|
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
|