File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Clojure CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-clojure/ for more details
4
+ #
5
+ version : 2
6
+ jobs :
7
+ build :
8
+ docker :
9
+ # specify the version you desire here
10
+ - image : circleci/clojure:lein-2.9.1
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # - image: circleci/postgres:9.4
16
+
17
+ working_directory : ~/repo
18
+
19
+ environment :
20
+ LEIN_ROOT : " true"
21
+ # Customize the JVM maximum heap limit
22
+ JVM_OPTS : -Xmx3200m
23
+
24
+ steps :
25
+ - checkout
26
+
27
+ # Download and cache dependencies
28
+ - restore_cache :
29
+ keys :
30
+ - v1-dependencies-{{ checksum "project.clj" }}
31
+ # fallback to using the latest cache if no exact match is found
32
+ - v1-dependencies-
33
+
34
+ - run : lein deps
35
+
36
+ - save_cache :
37
+ paths :
38
+ - ~/.m2
39
+ key : v1-dependencies-{{ checksum "project.clj" }}
40
+
41
+ # run tests!
42
+ - run : lein do clean, test
You can’t perform that action at this time.
0 commit comments