forked from springfox/springfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
47 lines (42 loc) · 1.17 KB
/
circle.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
general:
branches:
ignore:
- gh-pages
machine:
java:
version: oraclejdk7
environment:
TERM: dumb
CI_NAME: Circle-CI
CI_BRANCH: $CIRCLE_BRANCH
CI_BUILD_NUMBER: $CIRCLE_BUILD_NUM
CI_BUILD_URL: $CIRCLE_COMPARE_URL
_JAVA_OPTIONS: "-Xmx1024M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512M"
GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx3840m -XX:+HeapDumpOnOutOfMemoryError"'
checkout:
post:
- git fetch --unshallow || true
- git fetch --tags
dependencies:
pre:
- gem install asciidoctor
cache_directories:
- ~/.m2
- ~/.gradle
test:
override:
- ./gradlew clean check codeCoverageReport:
timeout: 900
- bash <(curl -s https://codecov.io/bash)
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
deployment:
staging:
branch: master
owner: springfox
commands:
- ./gradlew snapshot -PbintrayUsername=${bintrayUsername} -PbintrayPassword=${bintrayPassword} -i -x check
- ./gradlew publishDocs -i
notify:
webhooks:
- url: https://webhooks.gitter.im/e/b30a7db820817acfc6d8