From d142713fe5d2adf1ff5ec48b5f1b8817508e202e Mon Sep 17 00:00:00 2001 From: Christian Meter Date: Sun, 16 Dec 2018 22:35:12 +0100 Subject: [PATCH] Add circle CI (#2) * Add CI * Simplify CI config * Fix CI * Add CI Badge --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..a2b991c7 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,30 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/clojure:lein-2.7.1 + + working_directory: ~/repo + + environment: + LEIN_ROOT: "true" + # Customize the JVM maximum heap limit + JVM_OPTS: -Xmx3200m + + steps: + - checkout + + - restore_cache: + keys: + - v1-dependencies-{{ checksum "project.clj" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- + + - run: lein deps + + - save_cache: + paths: + - ~/.m2 + key: v1-dependencies-{{ checksum "project.clj" }} + + - run: lein test diff --git a/README.md b/README.md index bc72ea50..57348214 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # reveal-cljs +[![CircleCI](https://circleci.com/gh/n2o/reveal-cljs.svg?style=svg)](https://circleci.com/gh/n2o/reveal-cljs) + Inspired by the great work on [reveal.js](https://github.com/hakimel/reveal.js/) and the dislike towards JavaScript, this small project was created to provide a simple wrapper in ClojureScript to create awesome presentations.