Added Kobalt back to CircleCI.

This commit is contained in:
Erik C. Thauvin 2018-06-20 10:57:18 -07:00
parent 7cfdec0f41
commit 40a43498af
3 changed files with 41 additions and 6 deletions

View file

@ -40,8 +40,43 @@ jobs:
- store_test_results:
path: build/reports/
build_kobalt:
<<: *defaults
docker:
- image: circleci/openjdk:8-jdk
steps:
- checkout
- restore_cache:
keys:
- kobalt-dependencies-{{ checksum "kobalt/src/Build.kt" }}
# fallback to using the latest cache if no exact match is found
- kobalt-dependencies-
- run:
name: Check Versions
command: ./kobaltw checkVersions
- save_cache:
paths: ~/.kobalt
key: kobalt-dependencies-{{ checksum "kobalt/src/Build.kt" }}
- run:
name: Assemble & Test
command: ./kobaltw assemble test
- store_artifacts:
path: kobaltBuild/test-output/
destination: test-output
- store_test_results:
path: kobaltBuild/test-output/
workflows:
version: 2
gradle:
jobs:
- build_gradle
- build_gradle
kobalt:
jobs:
- build_kobalt