File tree Expand file tree Collapse file tree 1 file changed +37
-11
lines changed Expand file tree Collapse file tree 1 file changed +37
-11
lines changed Original file line number Diff line number Diff line change 1- version : 2
2- jobs :
3- build :
4- docker :
5- - image : circleci/openjdk:9
1+ version : 2.1
2+
3+ orbs :
4+ kaocha : lambdaisland/kaocha@dev:first
5+ clojure : lambdaisland/clojure@dev:first
6+
7+ commands :
8+ checkout_and_run :
9+ parameters :
10+ clojure_version :
11+ type : string
612 steps :
713 - checkout
8- - run : curl -O https://download.clojure.org/install/linux-install-1.9.0.375.sh
9- - run : chmod +x linux-install-1.9.0.375.sh
10- - run : ./linux-install-1.9.0.375.sh --prefix `pwd`
11- - run : curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
12- - run : sudo apt-get install -y nodejs
13- - run : bin/clojure -A:test -m kaocha.runner && bin/clojure -A:test-cljs
14+ - clojure/with_cache :
15+ steps :
16+ - kaocha/execute :
17+ args : " --reporter documentation --plugin cloverage --codecov"
18+ clojure_version : << parameters.clojure_version >>
19+ - kaocha/upload_codecov
20+
21+ jobs :
22+ java-11-clojure-1_10 :
23+ executor : clojure/openjdk11
24+ steps : [{checkout_and_run: {clojure_version: "1.10.0-RC2"}}]
25+
26+ java-9-clojure-1_9 :
27+ executor : clojure/openjdk9
28+ steps : [{checkout_and_run: {clojure_version: "1.9.0"}}]
29+
30+ java-8-clojure-1_8 :
31+ executor : clojure/openjdk8
32+ steps : [{checkout_and_run: {clojure_version: "1.8.0"}}]
33+
34+ workflows :
35+ kaocha_test :
36+ jobs :
37+ - java-11-clojure-1_10
38+ - java-9-clojure-1_9
39+ - java-8-clojure-1_8
You can’t perform that action at this time.
0 commit comments