Skip to content

Commit

Permalink
Run CI on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Mar 19, 2020
1 parent 5091d16 commit 3baa0e1
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
lint_task:
task:
name: Lint
container:
image: elixir:latest
script:
mix format --check-formatted

test_task:
task:
name: Tests (Linux)
container:
image: elixir:latest
env:
Expand All @@ -20,3 +22,19 @@ test_task:
mix deps.get
compile_script: mix compile
test_script: mix test

task:
name: Tests (macOS)
osx_instance:
image: catalina-base
env:
MIX_ENV: 'test'
mix_cache:
folder: deps
fingerprint_script: cat mix.lock
populate_script: |
mix local.hex --if-missing --force
mix local.rebar --force
mix deps.get
compile_script: mix compile
test_script: mix test

0 comments on commit 3baa0e1

Please sign in to comment.