Added CircleCI 2.0 configuration.
This commit is contained in:
parent
38d7714f22
commit
a2bbaf9f0f
2 changed files with 31 additions and 11 deletions
31
.circleci/config.yml
Normal file
31
.circleci/config.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
||||
command: ./kobaltw assemble
|
11
circle.yml
11
circle.yml
|
@ -1,11 +0,0 @@
|
|||
machine:
|
||||
java:
|
||||
version: oraclejdk8
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- chmod +x kobaltw
|
||||
|
||||
test:
|
||||
override:
|
||||
- ./kobaltw assemble
|
Loading…
Add table
Add a link
Reference in a new issue