-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
35 lines (35 loc) · 865 Bytes
/
circle.yml
File metadata and controls
35 lines (35 loc) · 865 Bytes
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
machine:
environment:
TERM: dumb
timezone:
America/St_Johns
java:
version: oraclejdk8
dependencies:
# Save a backup of installed apps to speed up building
cache_directories:
- "gradle"
- "/home/ubuntu/.gradle/caches/"
pre:
- |
# Download gradle and install
if ! [[ -d gradle ]]; then
wget https://services.gradle.org/distributions/gradle-3.4-bin.zip
unzip gradle-3.4-bin.zip
mv gradle-3.4 gradle
# Force CCI to cache grade plugin jars
gradle/bin/gradle build
gradle/bin/gradle jacocoTestReport
fi
# Force CCI to cache normal dependency jars
- gradle/bin/gradle dependencies
override:
- echo "Disable inference"
general:
artifacts:
- build/reports
test:
pre:
- gradle/bin/gradle check
override:
- gradle/bin/gradle jacocoTestReport