forked from SmartThingsOSS/springboot-dropwizard-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
35 lines (30 loc) · 855 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:
oraclejdk8
environment:
JAVA_OPTS: -Djava.awt.headless=true -server -Xmx1G
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx1G -XX:+HeapDumpOnOutOfMemoryError"'
MAX_HEAP_SIZE: 512M
HEAP_NEWSIZE: 100M
dependencies:
override:
- sudo pip install codecov
- ./gradlew classes testClasses
test:
override:
- ./gradlew check jacocoTestReport
post:
- 'find . -type f -name "*.xml" | grep "build/test-results" | xargs cp -t $CIRCLE_TEST_REPORTS/'
- bash <(curl -s https://codecov.io/bash)
deployment:
snapshot:
owner: SmartThingsOSS
branch: master
commands:
- ./gradlew publish -PsmartThingsUserName=$ARTIFACTORY_USERNAME -PsmartThingsPassword=$ARTIFACTORY_PASSWORD
release:
owner: SmartThingsOSS
tag: /v\d+\.\d+\.\d+/
commands:
- ./gradlew bintray