From 03478a03ff342b132cf01c70d789d93af167a0a7 Mon Sep 17 00:00:00 2001 From: Alex Engelberg Date: Sun, 19 Aug 2018 17:57:17 -0700 Subject: [PATCH] Split out clj and cljs jobs --- .circleci/config.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 726b339..0a5a005 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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" }} \ No newline at end of file + test-cljs: + working_directory: ~/project + docker: + - image: circleci/clojure:lein-2.8.1-node + steps: + - checkout + - run: lein test-cljs-all \ No newline at end of file