Browse Source

add CircleCI configuration

pull/1/merge
Luke VanderHart 4 years ago
parent
commit
f2c363a13d
  1. 32
      .circleci/config.yml

32
.circleci/config.yml

@ -0,0 +1,32 @@
# 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
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "deps.edn" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: clojure -Atest -Srepro -Sdescribe
- save_cache:
paths:
- ~/.m2
- ~/.gitlibs
key: v1-dependencies-{{ checksum "deps.edn" }}
# run tests!
- run: clojure -Atest:run-tests
Loading…
Cancel
Save