Skip to content

Commit

Permalink
Added badges and updated coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkomiu committed Dec 29, 2016
1 parent dd237e7 commit 974de0b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ before_script:
script:
- mix test
- mix credo
- mix coveralls
- mix inch.report
- mix coveralls.travis

deploy:
provider: script
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

[![Build Status](https://travis-ci.org/nikkomiu/phoenix_inline_svg.svg?branch=master)](https://travis-ci.org/nikkomiu/phoenix_inline_svg)
[![Inline docs](http://inch-ci.org/github/nikkomiu/phoenix_inline_svg.svg)](http://inch-ci.org/github/nikkomiu/phoenix_inline_svg)
[![Hex.pm](https://img.shields.io/hexpm/dt/phoenix_inline_svg.svg)](https://hex.pm/packages/phoenix_inline_svg)
[![Hex.pm](https://img.shields.io/hexpm/v/phoenix_inline_svg.svg)](https://hex.pm/packages/phoenix_inline_svg)
[![Hex.pm](https://img.shields.io/hexpm/l/phoenix_inline_svg.svg)](https://hex.pm/packages/phoenix_inline_svg)

Adds support for inline SVG files in Phoenix Framework. This package
allows you to quickly and easily add SVG files into your HTML templates in Phoenix Framework.
Expand Down
10 changes: 8 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ defmodule PhoenixInlineSvg.Mixfile do
deps: deps(),
package: package(),
description: description(),
preferred_cli_env: cli_env(),
test_coverage: [tool: ExCoveralls],
docs: [extras: ["README.md"]]
]
end

def application do
[]
def cli_env() do
[
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
end

defp deps do
Expand Down

0 comments on commit 974de0b

Please sign in to comment.