forked from linkedin/pygradle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
29 lines (25 loc) · 880 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
machine:
python:
version: 2.6.6
java:
version: oraclejdk8
post:
- pyenv global 2.7
- ln -sf ~/.pyenv/versions/2.6.6/bin/python2.6 ~/.pyenv/shims/python2.6
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
dependencies:
override:
- ./gradlew downloadDependencies --console plain
test:
override:
- ./gradlew build --console plain --max-workers 1 -Prelease=true
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
deployment:
master:
branch: master
commands:
- ./gradlew versionBump -Prelease=true --console plain
- ./gradlew artifactoryPublish distributeBuild -Prelease=true --max-workers 1 --console plain