From c3650cf5392d7521dd8d5d32bbe1c6c2e05bd4ec Mon Sep 17 00:00:00 2001 From: Vale Date: Wed, 30 Oct 2019 00:10:13 +0900 Subject: [PATCH] Build against multiple JDKs --- .circleci/config.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 821c6add..4a0b8900 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,8 +2,11 @@ version: 2 jobs: test-clj: working_directory: ~/test + parameters: + image: + type: string docker: - - image: clojure:lein-2.7.1 + - image: << parameters.image >> steps: - checkout - restore_cache: @@ -103,7 +106,14 @@ workflows: version: 2 test-and-build-docs: jobs: - - test-clj + - test-clj: + image: clojure:openjdk-8-lein-2.9.1 + - test-clj: + image: clojure:openjdk-11-lein-2.9.1 + - test-clj: + image: clojure:openjdk-13-lein-2.9.1 + - test-clj: + image: clojure:openjdk-14-lein-2.9.1 - test-cljs # - build-docs: # filters: