42 lines
1.8 KiB
YAML
42 lines
1.8 KiB
YAML
general:
|
|
branches:
|
|
ignore:
|
|
- gh-pages # list of branches to ignore
|
|
machine:
|
|
java:
|
|
version: oraclejdk8
|
|
environment:
|
|
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
|
|
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError"'
|
|
TERM: dumb
|
|
dependencies:
|
|
pre:
|
|
- |
|
|
sudo service zookeeper stop || echo "Service not running"
|
|
sudo service cassandra stop || echo "Service not running"
|
|
sudo service elasticsearch stop || echo "Service not running"
|
|
sudo service rabbitmq-server stop || echo "Service not running"
|
|
sudo service redis stop || echo "Service not running"
|
|
sudo service riak stop || echo "Service not running"
|
|
sudo service beanstalkd stop || echo "Service not running"
|
|
sudo service couchbase-server stop || echo "Service not running"
|
|
sudo service neo4j stop || echo "Service not running"
|
|
sudo service sphinxsearch stop || echo "Service not running"
|
|
sudo service postgresql stop || echo "Service not running"
|
|
- touch ~/.gradle/gradle.properties && echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
|
|
override:
|
|
- ./mvnw dependency:resolve || true
|
|
test:
|
|
override:
|
|
# docs take 15 minutes to run
|
|
- rm -rf ~/.m2/repository/com/example && ./mvnw clean install -P docs,integration -U $MVN_LOCAL_OPTS
|
|
post:
|
|
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
|
|
- find . -type f -regex ".*/target/.*-reports/.*" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
|
|
- find . -type f -regex ".*/build/test-results/.*" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
notify:
|
|
webhooks:
|
|
# A list of hook hashes, containing the url field
|
|
# gitter hook
|
|
- url: https://webhooks.gitter.im/e/ece0ece9a76a5af2aa91 |