This repository has been archived by the owner on Dec 17, 2018. It is now read-only.
forked from mmzeeman/esqlite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4982c99
commit 7e58fc0
Showing
2 changed files
with
21 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,26 @@ | ||
version: 2 | ||
version: 2.0 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/elixir:1.6.6 | ||
- image: circleci/elixir:1.6.6-otp-21 | ||
environment: | ||
MIX_ENV: test | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v4-dependency-cache-{{ checksum "mix.lock" }} | ||
- v4-dependency-cache | ||
- v2-dependency-cache-{{ checksum "mix.lock" }} | ||
- run: mix local.hex --force | ||
- run: mix local.rebar --force | ||
- run: mix deps.get | ||
- run: mix deps.compile --warnings-as-errors | ||
- run: mix deps.compile | ||
- run: mix compile | ||
- run: | ||
command: mix compile --warnings-as-errors | ||
environment: | ||
MIX_ENV: test | ||
- restore_cache: | ||
keys: | ||
- v4-plt-cache-{{ checksum "mix.lock" }} | ||
- v4-plt-cache | ||
- run: mix dialyzer --plt | ||
- run: mix dialyzer --halt-exit-status | ||
- run: mix credo --strict --ignore linelength -a | ||
- run: | ||
command: mix coveralls.circle --include bench | ||
environment: | ||
MIX_ENV: test | ||
- save_cache: | ||
key: v4-plt-cache-{{ checksum "mix.lock" }} | ||
paths: | ||
- _build | ||
- deps | ||
- ~/.mix | ||
# not passing yet | ||
# - run: mix credo --strict | ||
- run: mix coveralls.circle | ||
- run: mix inch.report | ||
- save_cache: | ||
key: v4-dependency-cache-{{ checksum "mix.lock" }} | ||
key: v2-dependency-cache-{{ checksum "mix.lock" }} | ||
paths: | ||
- _build | ||
- deps | ||
- ~/.mix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters