-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcircle.yml
30 lines (30 loc) · 1.08 KB
/
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
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-25-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "osrm-text-instructions/build.gradle" }}-{{ checksum "osrm-text-instructions/app/build.gradle" }}
- run:
name: Download Dependencies
command: cd osrm-text-instructions && ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "osrm-text-instructions/build.gradle" }}-{{ checksum "osrm-text-instructions/app/build.gradle" }}
- run:
name: Check Java code style
command: cd osrm-text-instructions && ./gradlew checkstyle
- run:
name: Run Tests
command: cd osrm-text-instructions && ./gradlew :libjava-osrm-instructions:test
- store_artifacts:
path: osrm-text-instructions/app/build/reports
destination: reports
- store_test_results:
path: osrm-text-instructions/app/build/test-results