From 0fb66e8082fe83251b5261766048ca43bea3b1dd Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Thu, 10 Jun 2021 15:25:40 -0500 Subject: [PATCH] feat: Test in multiple elixir versions --- .gitlab-ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 745a04c0..42240103 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,9 +15,8 @@ variables: # Test stage. Runs various tests and speculatively builds docker image in # parallel, in case the build passes. -test: +.test_template: &test_template stage: test - image: "elixir:1.10.4-alpine" cache: paths: - _build/ @@ -26,6 +25,18 @@ test: - name: postgres:12 script: script/cibuild +test: + <<: *test_template + image: "elixir:1.10.4-alpine" + +test_1.11.4: + <<: *test_template + image: "elixir:1.11.4-alpine" + +test_1.12.1: + <<: *test_template + image: "elixir:1.12.1-alpine" + build_image_for_commit: stage: test image: "docker:20.10"