File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments