forked from linkedin/pygradle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
27 lines (23 loc) · 897 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
machine:
java:
version: oraclejdk8
post:
- pyenv global 2.7.9 3.5.0 3.4.3 2.6.8
- chmod --recursive a-w ~/.pyenv/versions #Builds fail when we have write permissions, so disableing it
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