From d6d7c8bc339bfdb8db601a2b4127809785aa1728 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Wed, 13 Jun 2018 08:59:06 +0200 Subject: [PATCH] Added circleci support --- .circleci/config.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..745f97b --- /dev/null +++ b/.circleci/config.yml @@ -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" }}