Skip to content

Commit

Permalink
ci: test on Elixir 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Mar 1, 2022
1 parent af820e2 commit 48f0119
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,41 @@ install_system_deps: &install_system_deps
apk add build-base linux-headers
jobs:
build_elixir_1_12_otp_24:
build_elixir_1_13_otp_24:
docker:
- image: hexpm/elixir:1.12.3-erlang-24.1.2-alpine-3.14.2
- image: hexpm/elixir:1.13.1-erlang-24.2-alpine-3.15.0
<<: *defaults
steps:
- checkout
- <<: *install_system_deps
- <<: *install_hex_rebar
- <<: *install_system_deps
- restore_cache:
keys:
- v1-mix-cache-{{ checksum "mix.lock" }}
- run: mix deps.get
- run: mix test
- run: mix format --check-formatted
- run: mix deps.unlock --check-unused
- run: mix docs
- run: mix hex.build
- run: mix test
- run: mix dialyzer
- save_cache:
key: v1-mix-cache-{{ checksum "mix.lock" }}
paths:
- _build
- deps

build_elixir_1_12_otp_24:
docker:
- image: hexpm/elixir:1.12.3-erlang-24.1.2-alpine-3.14.2
<<: *defaults
steps:
- checkout
- <<: *install_hex_rebar
- <<: *install_system_deps
- run: mix deps.get
- run: mix test

build_elixir_1_11_otp_23:
docker:
- image: hexpm/elixir:1.11.4-erlang-23.3.4-alpine-3.13.3
Expand Down Expand Up @@ -102,6 +113,7 @@ workflows:
version: 2
build_test:
jobs:
- build_elixir_1_13_otp_24
- build_elixir_1_12_otp_24
- build_elixir_1_11_otp_23
- build_elixir_1_10_otp_23
Expand Down

0 comments on commit 48f0119

Please sign in to comment.