Skip to content

Commit

Permalink
Merge pull request #53 from verypossible/coveralls-only-master
Browse files Browse the repository at this point in the history
Only run coveralls on master
  • Loading branch information
danielspofford committed Feb 11, 2020
2 parents 45eaa67 + 82d8041 commit a9f3ea4
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- v1
- run: mix local.hex --force
- run: mix local.rebar --force
- run: mix do deps.clean --all, clean # dialyzer plts survive this
- run: mix clean --deps # dialyzer plts survive this
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: MIX_ENV=test mix coveralls.circle
- run: MIX_ENV=test mix test
- run: mix credo
- run: mix format --check-formatted
- run: mix dialyzer --plt
Expand All @@ -29,8 +29,29 @@ jobs:
paths:
- _build
- run: MIX_ENV=prod mix dialyzer --halt-exit-status
coveralls_report:
docker:
- image: circleci/elixir:1.8.1
environment:
MIX_ENV: test
steps:
- checkout
- restore_cache:
keys:
- v1-{{ .Branch }}
- v1
- run: mix local.hex --force
- run: mix local.rebar --force
- run: mix clean --deps # dialyzer plts survive this
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: MIX_ENV=test mix coveralls.circle
workflows:
version: 2
test_and_deploy:
jobs:
- test
- coveralls_report:
filters:
branches:
only: master

0 comments on commit a9f3ea4

Please sign in to comment.