Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e50cfc4
commit 03478a0
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
version: 2 | ||
|
||
jobs: | ||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- test-clj | ||
- test-cljs | ||
|
||
jobs: | ||
test-clj: | ||
working_directory: ~/project | ||
docker: | ||
- image: circleci/clojure:lein-2.8.1 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-{{ checksum "project.clj" }} | ||
- v1- | ||
- run: lein deps | ||
- save_cache: | ||
paths: | ||
- ~/.m2 | ||
key: v1-{{ checksum "project.clj" }} | ||
- run: lein check | ||
- run: lein test-all | ||
- run: lein test-cljs-all | ||
- save_cache: | ||
paths: | ||
- ~/.m2 | ||
key: v1-{{ checksum "project.clj" }} | ||
test-cljs: | ||
working_directory: ~/project | ||
docker: | ||
- image: circleci/clojure:lein-2.8.1-node | ||
steps: | ||
- checkout | ||
- run: lein test-cljs-all |