forked from springfox/springfox-javadoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
45 lines (39 loc) · 1.08 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
general:
branches:
ignore:
- gh-pages
machine:
java:
version: oraclejdk8
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
test:
override:
- ./mvnw clean install
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/surefire-reports/.*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