Skip to content

Commit

Permalink
Change to coverex
Browse files Browse the repository at this point in the history
  • Loading branch information
fcevado committed Aug 27, 2016
1 parent c6d15dc commit 3f514cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
11 changes: 0 additions & 11 deletions coveralls.json

This file was deleted.

11 changes: 9 additions & 2 deletions mix.exs
Expand Up @@ -10,7 +10,7 @@ defmodule Phonex.Mixfile do
description: description,
package: package,
source_url: "https://github.com/fcevado/phone",
test_coverage: [tool: ExCoveralls],
test_coverage: coverage,
deps: deps]
end

Expand All @@ -33,6 +33,13 @@ defmodule Phonex.Mixfile do
[applications: []]
end

defp coverage do
[
tool: Coverex.Task,
coveralls: true
]
end

defp files do
[
"mix.exs",
Expand All @@ -48,7 +55,7 @@ defmodule Phonex.Mixfile do

defp deps do
[
{:excoveralls, "0.5.5", only: [ :test]},
{:coverex, "1.4.10", only: [ :test]},
{:earmark, "0.2.1", only: :dev},
{:ex_doc, "0.11.4", only: :dev},
{:inch_ex, "0.5.1", only: :docs}
Expand Down

0 comments on commit 3f514cc

Please sign in to comment.