Added circleci support

This commit is contained in:
Julien Eluard 2018-06-13 08:59:06 +02:00
parent f30b736ad7
commit d6d7c8bc33
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 37 additions and 0 deletions

37
.circleci/config.yml Normal file
View File

@ -0,0 +1,37 @@
# Clojure CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-clojure/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/clojure:tools-deps-node
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
working_directory: ~/repo
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- dependencies-{{ checksum "deps.edn" }}
# fallback to using the latest cache if no exact match is found
- dependencies-
- run: clojure -Atest-cljs
- save_cache:
paths:
- ~/.m2
key: dependencies-{{ checksum "deps.edn" }}