forked from springfox/springfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
42 lines (38 loc) · 850 Bytes
/
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
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
GRADLE_OPTS: -Dorg.gradle.daemon=false
checkout:
post:
- git fetch --unshallow || true
- git fetch --tags
dependencies:
pre:
- gem install asciidoctor
cache_directories:
- ~/.m2
- ~/.gradle
test:
override:
- ./gradlew clean check
deployment:
staging:
branch: master
owner: springfox
commands:
- ./gradlew snapshot -PbintrayUsername=${bintrayUsername} -PbintrayPassword=${bintrayPassword} -i -x check
- ./gradlew publishDocs -i
- ./gradlew coveralls
notify:
webhooks:
- url: https://webhooks.gitter.im/e/b30a7db820817acfc6d8