Skip to content

Commit 65b142c

Browse files
committed
Added CircleCI 2.0 integration
1 parent 0b939aa commit 65b142c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# https://circleci.com/docs/2.0/language-android/
2+
3+
version: 2
4+
jobs:
5+
build:
6+
working_directory: ~/code
7+
docker:
8+
- image: circleci/android:api-25-alpha
9+
environment:
10+
JVM_OPTS: -Xmx3200m
11+
steps:
12+
- checkout
13+
- restore_cache:
14+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
15+
- run:
16+
name: Download Dependencies
17+
command: ./gradlew androidDependencies
18+
- save_cache:
19+
paths:
20+
- ~/.gradle
21+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
22+
- run:
23+
name: Run Tests
24+
command: ./gradlew lint test
25+
- store_artifacts:
26+
path: app/build/reports
27+
destination: reports
28+
- store_test_results:
29+
path: app/build/test-results

0 commit comments

Comments
 (0)