Skip to content

Commit

Permalink
Format the codebase and check for formatted files on CI (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Feb 23, 2018
1 parent 8b05f97 commit 4a26171
Show file tree
Hide file tree
Showing 20 changed files with 2,003 additions and 926 deletions.
3 changes: 3 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
inputs: ["{mix,.formatter}.exs", "{lib,test}/**/*.{ex,exs}"]
]
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ notifications:
- jose.valim@plataformatec.com.br
otp_release:
- 18.0
script:
- if [[ $(elixir --version) = *"1.6"* ]]; then mix format --check-formatted; fi
- mix test
after_script:
- mix deps.get --only docs
- MIX_ENV=docs mix inch.report
Loading

0 comments on commit 4a26171

Please sign in to comment.