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: - store_test_results:
path: build/reports/ 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: workflows:
version: 2 version: 2
gradle: gradle:
jobs: jobs:
- build_gradle - build_gradle
kobalt:
jobs:
- build_kobalt

View file

@ -45,12 +45,12 @@ val p = project {
} }
dependencies { dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:1.2.10") compile("org.jetbrains.kotlin:kotlin-stdlib:1.2.50")
compile("com.squareup.okhttp3:okhttp:3.9.1") compile("com.squareup.okhttp3:okhttp:3.10.0")
} }
dependenciesTest { dependenciesTest {
compile("org.testng:testng:6.12") compile("org.testng:testng:6.14.3")
} }
assemble { assemble {

View file

@ -1 +1 @@
kobalt.version=1.0.100 kobalt.version=1.0.114