Skip to content

Commit

Permalink
Add circle CI (#2)
Browse files Browse the repository at this point in the history
* Add CI

* Simplify CI config

* Fix CI

* Add CI Badge
  • Loading branch information
n2o authored Dec 16, 2018
1 parent e5c2dbb commit d142713
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit d142713

Please sign in to comment.