Skip to content

Commit dafc4a3

Browse files
mannodermausMarcel Schnelle
authored andcommitted
Add barebones Circle CI YML
1 parent 0363d60 commit dafc4a3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.circleci/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2
2+
3+
cache_key: &cache_key
4+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "android-junit5/build.gradle" }}-{{ checksum "android-junit5-tests/build.gradle" }}-{{ checksum "instrumentation/build.gradle" }}-{{ checksum "instrumentation-runner/build.gradle" }}-{{ checksum "sample/build.gradle" }}-{{ checksum "gradle.properties" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
5+
6+
jobs:
7+
build:
8+
docker:
9+
- image: circleci/android:api-28-alpha
10+
steps:
11+
- checkout
12+
- restore_cache:
13+
<<: *cache_key
14+
- run:
15+
name: Download Dependencies
16+
command: ./gradlew androidDependencies
17+
- run:
18+
name: Build
19+
command: ./gradlew assemble assembleAndroidTest --stacktrace
20+
- run:
21+
name: Test
22+
command: ./gradlew check --stacktrace
23+
- save_cache:
24+
<<: *cache_key
25+
paths:
26+
- ~/.gradle/caches
27+
- ~/.gradle/wrapper

0 commit comments

Comments
 (0)