Added CircleCI 2.0 configuration.
This commit is contained in:
parent
787e24abdb
commit
fdcf92fd8f
3 changed files with 43 additions and 13 deletions
37
.circleci/config.yml
Normal file
37
.circleci/config.yml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/openjdk:8-jdk
|
||||||
|
|
||||||
|
working_directory: ~/repo
|
||||||
|
|
||||||
|
environment:
|
||||||
|
JVM_OPTS: -Xmx3200m
|
||||||
|
TERM: dumb
|
||||||
|
|
||||||
|
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/
|
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="PROJECT_PROFILE" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
13
circle.yml
13
circle.yml
|
@ -1,13 +0,0 @@
|
||||||
machine:
|
|
||||||
java:
|
|
||||||
version: oraclejdk8
|
|
||||||
|
|
||||||
dependencies:
|
|
||||||
override:
|
|
||||||
- chmod +x kobaltw
|
|
||||||
|
|
||||||
test:
|
|
||||||
override:
|
|
||||||
- ./kobaltw assemble test
|
|
||||||
post:
|
|
||||||
- cp -r kobaltBuild/test-output/* $CIRCLE_TEST_REPORTS/
|
|
Loading…
Add table
Add a link
Reference in a new issue