forked from palantir/sls-packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
35 lines (30 loc) · 775 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
machine:
java:
version: oraclejdk7
environment:
TERM: dumb
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
general:
artifacts:
- build/libs
dependencies:
override:
- ./gradlew resolveConfigurations
test:
override:
- ./gradlew build --info --stacktrace
post:
- ./gradlew jacocoTestReport coveralls --info --stacktrace
deployment:
# uncomment after fixing OJO publishing
#develop:
# branch: develop
# owner: palantir
# commands:
# - ./gradlew -i artifactoryPublish
release:
tag: /[0-9]+(\.[0-9]+)+/
owner: palantir
commands:
- ./gradlew -i bintrayUpload
- ./gradlew -i -Dgradle.publish.key=$GRADLE_KEY -Dgradle.publish.secret=$GRADLE_SECRET publishPlugins