Added Kobalt back to CircleCI.
This commit is contained in:
parent
7cfdec0f41
commit
40a43498af
3 changed files with 41 additions and 6 deletions
|
@ -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
|
|
@ -45,12 +45,12 @@ val p = project {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile("org.jetbrains.kotlin:kotlin-stdlib:1.2.10")
|
||||
compile("com.squareup.okhttp3:okhttp:3.9.1")
|
||||
compile("org.jetbrains.kotlin:kotlin-stdlib:1.2.50")
|
||||
compile("com.squareup.okhttp3:okhttp:3.10.0")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:6.12")
|
||||
compile("org.testng:testng:6.14.3")
|
||||
}
|
||||
|
||||
assemble {
|
||||
|
@ -63,7 +63,7 @@ val p = project {
|
|||
}
|
||||
|
||||
kotlinCompiler {
|
||||
//args("-source", "1.8")
|
||||
//args("-source", "1.8")
|
||||
}
|
||||
|
||||
application {
|
||||
|
|
|
@ -1 +1 @@
|
|||
kobalt.version=1.0.100
|
||||
kobalt.version=1.0.114
|
Loading…
Add table
Add a link
Reference in a new issue