Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
holetse committed Jul 19, 2017
2 parents 4160429 + e753711 commit 85176f4
Show file tree
Hide file tree
Showing 91 changed files with 2,488 additions and 1,471 deletions.
42 changes: 42 additions & 0 deletions .circleci/config.yml
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
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#
# If you want to enforce a style guide and need a more traditional linting
# experience, you can change `strict` to `true` below:
strict: false,
strict: true,
#
# If you want to use uncolored output by default, you can change `color`
# to `false` below:
Expand Down
Loading

0 comments on commit 85176f4

Please sign in to comment.