Skip to content

Commit

Permalink
Test more versions on CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Jun 19, 2019
1 parent a82edb4 commit c7a3c7f
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions .circleci/config.yml
Expand Up @@ -26,11 +26,11 @@ defaults: &defaults
working_directory: ~/repo

jobs:
build:
build_elixir_1_8_otp_22:
docker:
- image: erlang:21.0.9
environment:
ELIXIR_VERSION: 1.7.3-otp-21
- image: erlang:22.0
environment:
ELIXIR_VERSION: 1.8.2-otp-22
LC_ALL: C.UTF-8
<<: *defaults
steps:
Expand All @@ -45,7 +45,7 @@ jobs:
- run: mix compile --warnings-as-errors
- run: mix test
- run: mix format --check-formatted
- run: mix docs
- run: MIX_ENV=docs mix docs
- run: mix hex.build
- run: mix dialyzer --halt-exit-status
- save_cache:
Expand All @@ -54,3 +54,42 @@ jobs:
- _build
- deps

build_elixir_1_8_otp_21:
docker:
- image: erlang:21.3
environment:
ELIXIR_VERSION: 1.8.2-otp-21
LC_ALL: C.UTF-8
<<: *defaults
steps:
- checkout
- <<: *install_system_deps
- <<: *install_elixir
- <<: *install_hex_rebar
- run: mix deps.get
- run: mix compile
- run: mix test

build_elixir_1_7_otp_21:
docker:
- image: erlang:21.3
environment:
ELIXIR_VERSION: 1.7.4-otp-21
LC_ALL: C.UTF-8
<<: *defaults
steps:
- checkout
- <<: *install_system_deps
- <<: *install_elixir
- <<: *install_hex_rebar
- run: mix deps.get
- run: mix compile
- run: mix test

workflows:
version: 2
build_test:
jobs:
- build_elixir_1_8_otp_22
- build_elixir_1_8_otp_21
- build_elixir_1_7_otp_21

0 comments on commit c7a3c7f

Please sign in to comment.