Skip to content

Commit

Permalink
add build coverage and hex badges, #1
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLab committed Jan 30, 2019
1 parent ff76cdf commit 2d448da
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ elixir:
env:
- MIX_ENV=test
script:
- mix test
- mix coveralls.travis
after_success:
- bash <(curl -s https://codecov.io/bash)
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# elixir-base58-encode
https://hex.pm/packages/b58

[![Hex pm](http://img.shields.io/hexpm/v/b58.svg?style=flat)](https://hex.pm/packages/b58)
[![Build Status](https://travis-ci.org/dwyl/base58encode.svg?branch=master)](https://travis-ci.org/dwyl/base58encode)
[![Coverage Status](https://coveralls.io/repos/dwyl/base58Encode/badge.svg?branch=master)](https://coveralls.io/r/dwyl/base58Encode?branch=master)

This module provides the `Base58Encode.encode/1` function which takes an **Elixir binary** and returns its base58 String representation.

Expand Down
8 changes: 8 additions & 0 deletions coveralls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"coverage_options": {
"minimum_coverage": 100
},
"skip_files": [
"test/"
]
}
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ defmodule Base58Encode.MixProject do

defp aliases do
[
test: ["coveralls"],
test: ["coveralls"]
]
end

Expand Down

0 comments on commit 2d448da

Please sign in to comment.