Skip to content

Commit

Permalink
Split out clj and cljs jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
aengelberg committed Aug 20, 2018
1 parent e50cfc4 commit 03478a0
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .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" }}
test-cljs:
working_directory: ~/project
docker:
- image: circleci/clojure:lein-2.8.1-node
steps:
- checkout
- run: lein test-cljs-all

0 comments on commit 03478a0

Please sign in to comment.