forked from uschi2000/atlasdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
61 lines (57 loc) · 1.87 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
machine:
pre:
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
java:
version:
oraclejdk8
environment:
_JAVA_OPTIONS: "-Xmx512m"
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError"'
TERM: dumb
services:
- docker
general:
artifacts:
- "build/reports/profile"
- "atlasdb-ete-tests/container-logs"
- "atlasdb-cassandra-integration-tests/container-logs"
- "atlasdb-cassandra-multinode-tests/container-logs"
dependencies:
pre:
- sudo pip install docker-compose
- sudo pkill -u postgres
override:
- ./gradlew compileTestJava
- sudo pip install sphinx sphinx_rtd_theme
cache_directories:
- ~/.gradle
test:
override:
- ./scripts/circle-ci/run-circle-tests.sh:
parallel: true
post:
- ./gradlew jacocoFullReport:
parallel: true
- bash <(curl -s https://codecov.io/bash):
parallel: true
- mkdir -p $CIRCLE_TEST_REPORTS/junit/:
parallel: true
- find . -type f -regex ".*/build/test-results/TEST-.*\.xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;:
parallel: true
- mkdir -p $CIRCLE_ARTIFACTS/checkstyle $CIRCLE_ARTIFACTS/findbugs:
parallel: true
- find . -type d -regex ".*/build/reports/checkstyle" | sed 's#\./\(\(.*\)/build/reports/checkstyle\)#rsync -uav \1/ $CIRCLE_ARTIFACTS/checkstyle/\2#' | bash:
parallel: true
- find . -type d -regex ".*/build/reports/findbugs" | sed 's#\./\(\(.*\)/build/reports/findbugs\)#rsync -uav \1/ $CIRCLE_ARTIFACTS/findbugs/\2#' | bash:
parallel: true
deployment:
github-pages:
branch: develop
owner: palantir
commands:
- ./scripts/circle-ci/publish-github-page.sh
bintray:
tag: /[0-9]+(\.[0-9]+){2}(-alpha|-beta)?(\+[0-9]{3})?/
owner: palantir
commands:
- ./gradlew bintrayUpload -x test