Skip to content

Commit

Permalink
Merge pull request #76 from fcevado/coverex
Browse files Browse the repository at this point in the history
Change to coverex
  • Loading branch information
fcevado committed Aug 27, 2016
2 parents c6d15dc + 3368c39 commit c657bbf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
language: elixir

elixir:
- 1.1.1
- 1.2.6
- 1.3.2

otp_release:
- 18.2
- 18.3
- 19.0

script:
- MIX_ENV=test mix compile
- MIX_ENV=test mix coveralls.travis
- MIX_ENV=test mix test --cover

after_script:
- MIX_ENV=docs mix deps.get
Expand Down
11 changes: 0 additions & 11 deletions coveralls.json

This file was deleted.

11 changes: 9 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
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 c657bbf

Please sign in to comment.