forked from palantir/conjure-java-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (34 loc) · 929 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
machine:
java:
version: oraclejdk8
environment:
TERM: dumb
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
override:
- ./gradlew resolveConfigurations --parallel
- ./gradlew generateLock verifyDependencyLocksAreCurrent --stacktrace --parallel
test:
override:
- ? |
set -eu
set -o pipefail
case $CIRCLE_NODE_INDEX in
0)
./gradlew build --parallel
;;
1)
./gradlew testBouncyCastle testSun --parallel
;;
esac
:
parallel: true
timeout: 1200
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
deployment:
release:
tag: /[0-9]+(\.[0-9]+)+(-rc[0-9]+)?(-beta[0-9]+)?/
commands:
- ./gradlew --info bintrayUpload