Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
tlux committed Sep 8, 2019
1 parent f906db5 commit 2961bfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ script:
- mix format --check-formatted
- mix credo --strict
- travis_wait 30 mix dialyzer --halt-exit-status
- mix test --cover
- mix coveralls.travis

matrix:
include:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# File Size

[![Build Status](https://travis-ci.org/tlux/file_size.svg?branch=master)](https://travis-ci.org/tlux/file_size)
[![Coverage Status](https://coveralls.io/repos/github/tlux/file_size/badge.svg?branch=master)](https://coveralls.io/github/tlux/file_size?branch=master)
[![Hex.pm](https://img.shields.io/hexpm/v/file_size.svg)](https://hex.pm/packages/file_size)

A file size calculator, parser and formatter.
Expand Down
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ defmodule FileSize.MixProject do
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
"coveralls.html": :test,
"coveralls.travis": :test
],
dialyzer: [plt_add_apps: [:ex_unit, :mix]],
package: package(),
Expand Down

0 comments on commit 2961bfb

Please sign in to comment.