Skip to content

Commit

Permalink
Remove unmaintained versions from CI
Browse files Browse the repository at this point in the history
Remove Elixir 1.9, Elixir 1.10 and Erlang/OTP 20 from the CI matrix.
See appsignal/appsignal-elixir#864.
  • Loading branch information
unflxw committed Jun 26, 2023
1 parent c082e37 commit 9524620
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 74 deletions.
96 changes: 28 additions & 68 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,110 +23,70 @@ blocks:
- script/validate_ci_matrix
- name: mix compile
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=26.0 ELIXIR_VERSION= . bin/setup
- mix compile
- name: mix format --check-formatted
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=26.0 ELIXIR_VERSION= . bin/setup
- mix format --check-formatted
- name: mix credo --strict
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=26.0 ELIXIR_VERSION= . bin/setup
- mix credo --strict
- name: mix dialyzer
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=26.0 ELIXIR_VERSION= . bin/setup
- cache restore dialyzer-plt
- MIX_ENV=dev mix dialyzer --plt
- cache store dialyzer-plt priv/plts/
- MIX_ENV=dev mix dialyzer --format dialyzer
- name: Elixir main, OTP 25.0
- name: Elixir [:elixir, ["main", "1.15.0", "1.14.5"]], OTP 26.0
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=main . bin/setup
- ERLANG_VERSION=26.0 ELIXIR_VERSION=[:elixir, ["main", "1.15.0", "1.14.5"]] . bin/setup
- mix test
- name: Elixir 1.14.0, OTP 25.0
- name: Elixir [:phoenix, ["~> 1.7.0"]], OTP 26.0
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=26.0 ELIXIR_VERSION=[:phoenix, ["~> 1.7.0"]] . bin/setup
- mix test
- name: Elixir 1.13.4, OTP 25.0
- name: Elixir [:elixir, ["main", "1.15.0", "1.14.5", "1.13.4"]], OTP 25.3
commands:
- ERLANG_VERSION=25.0 ELIXIR_VERSION=1.13.4 . bin/setup
- ERLANG_VERSION=25.3 ELIXIR_VERSION=[:elixir, ["main", "1.15.0", "1.14.5", "1.13.4"]] . bin/setup
- mix test
- name: Elixir main, OTP 24.3
- name: Elixir [:phoenix, ["~> 1.7.0"]], OTP 25.3
commands:
- ERLANG_VERSION=24.3 ELIXIR_VERSION=main . bin/setup
- ERLANG_VERSION=25.3 ELIXIR_VERSION=[:phoenix, ["~> 1.7.0"]] . bin/setup
- mix test
- name: Elixir 1.14.0, OTP 24.3
- name: Elixir [:elixir, ["main", "1.15.0", "1.14.5", "1.13.4", "1.12.3", "1.11.4"]], OTP 24.3
commands:
- ERLANG_VERSION=24.3 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=24.3 ELIXIR_VERSION=[:elixir, ["main", "1.15.0", "1.14.5", "1.13.4", "1.12.3", "1.11.4"]] . bin/setup
- mix test
- name: Elixir 1.13.3, OTP 24.3
- name: Elixir [:phoenix, ["~> 1.7.0"]], OTP 24.3
commands:
- ERLANG_VERSION=24.3 ELIXIR_VERSION=1.13.3 . bin/setup
- ERLANG_VERSION=24.3 ELIXIR_VERSION=[:phoenix, ["~> 1.7.0"]] . bin/setup
- mix test
- name: Elixir 1.12.3, OTP 24.3
- name: Elixir [:elixir, ["1.14.5", "1.13.4", "1.12.3", "1.11.4"]], OTP 23.3
commands:
- ERLANG_VERSION=24.3 ELIXIR_VERSION=1.12.3 . bin/setup
- ERLANG_VERSION=23.3 ELIXIR_VERSION=[:elixir, ["1.14.5", "1.13.4", "1.12.3", "1.11.4"]] . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 24.3
- name: Elixir [:phoenix, ["~> 1.6.0"]], OTP 23.3
commands:
- ERLANG_VERSION=24.3 ELIXIR_VERSION=1.11.4 . bin/setup
- ERLANG_VERSION=23.3 ELIXIR_VERSION=[:phoenix, ["~> 1.6.0"]] . bin/setup
- mix test
- name: Elixir 1.14.0, OTP 23.3
- name: Elixir [:elixir, ["1.13.4", "1.12.3", "1.11.4"]], OTP 22.3
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.14.0 . bin/setup
- ERLANG_VERSION=22.3 ELIXIR_VERSION=[:elixir, ["1.13.4", "1.12.3", "1.11.4"]] . bin/setup
- mix test
- name: Elixir 1.13.3, OTP 23.3
- name: Elixir [:phoenix, ["~> 1.6.0"]], OTP 22.3
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.13.3 . bin/setup
- ERLANG_VERSION=22.3 ELIXIR_VERSION=[:phoenix, ["~> 1.6.0"]] . bin/setup
- mix test
- name: Elixir 1.12.3, OTP 23.3
- name: Elixir [:elixir, ["1.11.4"]], OTP 21.3
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.12.3 . bin/setup
- ERLANG_VERSION=21.3 ELIXIR_VERSION=[:elixir, ["1.11.4"]] . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 23.3
- name: Elixir [:phoenix, ["~> 1.6.0"]], OTP 21.3
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.10.4, OTP 23.3
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.10.4 . bin/setup
- mix test
- name: Elixir 1.13.3, OTP 22.3
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.13.3 . bin/setup
- mix test
- name: Elixir 1.12.3, OTP 22.3
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.12.3 . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 22.3
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.10.4, OTP 22.3
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.10.4 . bin/setup
- mix test
- name: Elixir 1.9.4, OTP 22.3
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.9.4 . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 21.3
commands:
- ERLANG_VERSION=21.3 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.10.4, OTP 21.3
commands:
- ERLANG_VERSION=21.3 ELIXIR_VERSION=1.10.4 . bin/setup
- mix test
- name: Elixir 1.9.4, OTP 21.3
commands:
- ERLANG_VERSION=21.3 ELIXIR_VERSION=1.9.4 . bin/setup
- mix test
- name: Elixir 1.9.4, OTP 20.3
commands:
- ERLANG_VERSION=20.3 ELIXIR_VERSION=1.9.4 . bin/setup
- ERLANG_VERSION=21.3 ELIXIR_VERSION=[:phoenix, ["~> 1.6.0"]] . bin/setup
- mix test
env_vars:
- name: MIX_ENV
Expand Down
12 changes: 6 additions & 6 deletions .semaphore/versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Update it in appsignal-elixir, then run script/generate_ci_matrix to
# redownload it.
VERSIONS = {
"25.0" => ["main", "1.14.0", "1.13.4"],
"24.3" => ["main", "1.14.0", "1.13.3", "1.12.3", "1.11.4"],
"23.3" => ["1.14.0", "1.13.3", "1.12.3", "1.11.4", "1.10.4"],
"22.3" => ["1.13.3", "1.12.3", "1.11.4", "1.10.4", "1.9.4"],
"21.3" => ["1.11.4", "1.10.4", "1.9.4"],
"20.3" => ["1.9.4"]
"26.0" => {elixir: ["main", "1.15.0", "1.14.5"], phoenix: ["~> 1.7.0"]},
"25.3" => {elixir: ["main", "1.15.0", "1.14.5", "1.13.4"], phoenix: ["~> 1.7.0"]},
"24.3" => {elixir: ["main", "1.15.0", "1.14.5", "1.13.4", "1.12.3", "1.11.4"], phoenix: ["~> 1.7.0"]},
"23.3" => {elixir: ["1.14.5", "1.13.4", "1.12.3", "1.11.4"], phoenix: ["~> 1.6.0"]},
"22.3" => {elixir: ["1.13.4", "1.12.3", "1.11.4"], phoenix: ["~> 1.6.0"]},
"21.3" => {elixir: ["1.11.4"], phoenix: ["~> 1.6.0"]},
}

0 comments on commit 9524620

Please sign in to comment.