Skip to content

Commit c3b5e29

Browse files
committed
Update
1 parent dff1742 commit c3b5e29

File tree

4 files changed

+270
-4
lines changed

4 files changed

+270
-4
lines changed

.circleci/config.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,31 @@ orbs:
55

66
jobs:
77
build:
8-
executor: android/android
9-
8+
working_directory: ~/code
9+
docker:
10+
- image: circleci/android:api-25-alpha
11+
environment:
12+
JVM_OPTS: -Xmx3200m
1013
steps:
1114
- checkout
15+
- restore_cache:
16+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
17+
# - run:
18+
# name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
19+
# command: sudo chmod +x ./gradlew
1220
- run:
13-
command: ./gradlew build
21+
name: Download Dependencies
22+
command: ./gradlew androidDependencies
23+
- save_cache:
24+
paths:
25+
- ~/.gradle
26+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
27+
- run:
28+
name: Run Tests
29+
command: ./gradlew lint test
30+
- store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
31+
path: app/build/reports
32+
destination: reports
33+
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
34+
path: app/build/test-results
35+
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
build/
12
# Compiled class file
23
*.class
34

.idea/workspace.xml

Lines changed: 244 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

af android app.iml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<exclude-output />
1313
<content url="file://$MODULE_DIR$">
1414
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
15-
<excludeFolder url="file://$MODULE_DIR$/build" />
1615
</content>
1716
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
1817
<orderEntry type="sourceFolder" forTests="false" />

0 commit comments

Comments
 (0)