@@ -9,7 +9,7 @@ commands:
99 - v2-dependencies-{{ checksum "project.clj" }}
1010 # fallback to using the latest cache if no exact match is found
1111 - v2-dependencies-
12- - run : lein with-profile -dev,+ci,+test,+refactor-nrepl deps
12+ - run : lein with-profile -user,- dev,+ci,+test,+refactor-nrepl deps
1313 - save_cache :
1414 paths :
1515 - ~/.m2
7070 command : << parameters.lein_test_command >>
7171 - run :
7272 command : .circleci/e2e.sh
73+ - run :
74+ command : lein with-profile -user,+test eastwood
7375 deploy :
7476 executor : openjdk8
7577 steps :
@@ -79,13 +81,13 @@ jobs:
7981 command : echo -e "$GPG_KEY_V2" | gpg --import
8082 - run :
8183 name : Perform pre-release sanity check
82- command : lein with-profile -dev,+ci,+ncrw run -m nedap.ci.release-workflow.api sanity-check
84+ command : lein with-profile -user,- dev,+ci,+ncrw run -m nedap.ci.release-workflow.api sanity-check
8385 - run :
8486 name : release to JFrog
85- command : lein deploy
87+ command : lein with-profile -user deploy
8688 - run :
8789 name : release to Clojars
88- command : lein deploy clojars
90+ command : lein with-profile -user deploy clojars
8991
9092test_code_filters : &test_code_filters
9193 filters :
@@ -101,57 +103,45 @@ workflows:
101103 - test_code :
102104 name : " JDK 8 including refactor-nrepl"
103105 jdk_version : openjdk8
104- lein_test_command : lein with-profile -dev,+ci,+refactor-nrepl do clean, test
105- << : *test_code_filters
106- - test_code :
107- name : " JDK 8 including refactor-nrepl, and parallel Eastwood linters"
108- jdk_version : openjdk8-parallel
109- lein_test_command : lein with-profile -dev,+ci,+refactor-nrepl,+parallel-eastwood do clean, test
106+ lein_test_command : lein with-profile -user,-dev,+ci,+refactor-nrepl do clean, test
110107 << : *test_code_filters
111108 - test_code :
112109 name : " JDK 8 including refactor-nrepl (at its latest version)"
113110 jdk_version : openjdk8
114- lein_test_command : lein with-profile -dev,+ci,+refactor-nrepl-latest do clean, test
111+ lein_test_command : lein with-profile -user,- dev,+ci,+refactor-nrepl-latest do clean, test
115112 << : *test_code_filters
116113 - test_code :
117114 name : " JDK 8 excluding refactor-nrepl"
118115 jdk_version : openjdk8
119- lein_test_command : lein with-profile -dev,+ci do clean, test
116+ lein_test_command : lein with-profile -user,- dev,+ci do clean, test
120117 << : *test_code_filters
121118 - test_code :
122119 name : " JDK 8, with an old clojurescript dependency on the classpath"
123120 jdk_version : openjdk8
124- lein_test_command : lein with-profile -dev,-provided,+ci,+cljs-old do clean, test
121+ lein_test_command : lein with-profile -user,- dev,-provided,+ci,+cljs-old do clean, test
125122 << : *test_code_filters
126123 - test_code :
127124 name : " JDK 11 including refactor-nrepl"
128125 jdk_version : openjdk11
129- lein_test_command : lein with-profile -dev,+ci,+refactor-nrepl do clean, test
130- << : *test_code_filters
131- - test_code :
132- name : " JDK 11 including refactor-nrepl, and parallel Eastwood linters"
133- jdk_version : openjdk11-parallel
134- lein_test_command : lein with-profile -dev,+ci,+refactor-nrepl,+parallel-eastwood do clean, test
126+ lein_test_command : lein with-profile -user,-dev,+ci,+refactor-nrepl do clean, test
135127 << : *test_code_filters
136128 - test_code :
137129 name : " JDK 11 including refactor-nrepl (at its latest version)"
138130 jdk_version : openjdk11
139- lein_test_command : lein with-profile -dev,+ci,+refactor-nrepl-latest do clean, test
131+ lein_test_command : lein with-profile -user,- dev,+ci,+refactor-nrepl-latest do clean, test
140132 << : *test_code_filters
141133 - test_code :
142134 name : " JDK 11 excluding refactor-nrepl"
143135 jdk_version : openjdk11
144- lein_test_command : lein with-profile -dev,+ci do clean, test
136+ lein_test_command : lein with-profile -user,- dev,+ci do clean, test
145137 << : *test_code_filters
146138 - deploy :
147139 context : JFrog
148140 requires :
149141 - " JDK 8, with an old clojurescript dependency on the classpath"
150- - " JDK 8 including refactor-nrepl, and parallel Eastwood linters"
151142 - " JDK 8 including refactor-nrepl"
152143 - " JDK 8 excluding refactor-nrepl"
153144 - " JDK 11 including refactor-nrepl"
154- - " JDK 11 including refactor-nrepl, and parallel Eastwood linters"
155145 - " JDK 11 excluding refactor-nrepl"
156146 filters :
157147 branches :
0 commit comments