-
Notifications
You must be signed in to change notification settings - Fork 24
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
Showing
91 changed files
with
2,488 additions
and
1,471 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
machine: true | ||
working_directory: ~/bootleg | ||
steps: | ||
- checkout | ||
- run: echo 'export INSTALL_PATH="$HOME/dependencies";export PATH="$INSTALL_PATH/bin:$PATH";export MIX_ENV=test;export VERSION_CIRCLECI=2' >> $BASH_ENV | ||
- restore_cache: | ||
key: environment-cache-{{ checksum ".circleci/config.yml" }}-{{ checksum "script/ci/prepare.sh" }} | ||
- run: | ||
name: Install Elixir | ||
command: script/ci/prepare.sh | ||
- save_cache: | ||
key: environment-cache-{{ checksum ".circleci/config.yml" }}-{{ checksum "script/ci/prepare.sh" }} | ||
paths: | ||
- ~/dependencies | ||
- restore_cache: | ||
key: dependencies-cache-{{ checksum ".circleci/config.yml" }}-{{ checksum "mix.lock" }} | ||
- run: | ||
name: Preparing dependencies | ||
command: | | ||
mix local.hex --force | ||
mix local.rebar --force | ||
mix deps.get; | ||
mix deps.compile; | ||
mix dialyzer --plt; | ||
no_output_timeout: 10m | ||
- save_cache: | ||
key: dependencies-cache-{{ checksum ".circleci/config.yml" }}-{{ checksum "mix.lock" }} | ||
paths: | ||
- ~/.mix | ||
- _build | ||
- deps | ||
- run: mix compile | ||
- run: mix dialyzer | ||
- run: mix credo --strict | ||
- run: mix coveralls.html | ||
- store_test_results: | ||
path: ~/bootleg/_build/test/lib/bootleg | ||
- store_artifacts: | ||
path: cover |
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
Oops, something went wrong.