Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Add test coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
brsntus committed Mar 26, 2017
1 parent 2d573e4 commit 2ffd904
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ elixir: 1.4.2
otp_release: 19.2
notifications:
email: false
script:
- "MIX_ENV=test mix coveralls.travis"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

Simple wrapper for [Overpass API](https://wiki.openstreetmap.org/wiki/Overpass_API).

Expand Down
3 changes: 1 addition & 2 deletions lib/overpex/overpass/node.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ defmodule Overpex.Overpass.Node do
tags: []
}

defstruct id: 0, lat: 0.0, lon: 0.0, tags: []
defstruct id: 0, lat: 0.0, lon: 0.0, tags: []
end

2 changes: 2 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ defmodule Overpex.Mixfile do
deps: deps(),
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
name: "Overpex",
source_url: "https://github.com/brunoasantos/overpex",
docs: [main: "Overpex",
Expand All @@ -26,6 +27,7 @@ defmodule Overpex.Mixfile do
{:poison, "~> 3.1.0"},
{:ex_doc, "~> 0.15", only: :dev, runtime: false},
{:exvcr, "~> 0.8", only: :test},
{:excoveralls, "~> 0.6", only: :test},
{:mock, "~> 0.2", only: :test}]
end

Expand Down
1 change: 1 addition & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"earmark": {:hex, :earmark, "1.2.0", "bf1ce17aea43ab62f6943b97bd6e3dc032ce45d4f787504e3adf738e54b42f3a", [:mix], []},
"ex_doc": {:hex, :ex_doc, "0.15.0", "e73333785eef3488cf9144a6e847d3d647e67d02bd6fdac500687854dd5c599f", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, optional: false]}]},
"exactor": {:hex, :exactor, "2.2.3", "a6972f43bb6160afeb73e1d8ab45ba604cd0ac8b5244c557093f6e92ce582786", [:mix], []},
"excoveralls": {:hex, :excoveralls, "0.6.3", "894bf9254890a4aac1d1165da08145a72700ff42d8cb6ce8195a584cb2a4b374", [:mix], [{:exjsx, "~> 3.0", [hex: :exjsx, optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, optional: false]}]},
"exjsx": {:hex, :exjsx, "3.2.1", "1bc5bf1e4fd249104178f0885030bcd75a4526f4d2a1e976f4b428d347614f0f", [:mix], [{:jsx, "~> 2.8.0", [hex: :jsx, optional: false]}]},
"exvcr": {:hex, :exvcr, "0.8.7", "e76f33b10dfefbcf32afa6d6867140566d0d54797e352b47485eed0241dd7edf", [:mix], [{:exactor, "~> 2.2", [hex: :exactor, optional: false]}, {:exjsx, "~> 3.2", [hex: :exjsx, optional: false]}, {:httpoison, "~> 0.8", [hex: :httpoison, optional: true]}, {:httpotion, "~> 3.0", [hex: :httpotion, optional: true]}, {:ibrowse, "~> 4.2.2", [hex: :ibrowse, optional: true]}, {:meck, "~> 0.8.3", [hex: :meck, optional: false]}]},
"hackney": {:hex, :hackney, "1.7.1", "e238c52c5df3c3b16ce613d3a51c7220a784d734879b1e231c9babd433ac1cb4", [:rebar3], [{:certifi, "1.0.0", [hex: :certifi, optional: false]}, {:idna, "4.0.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]},
Expand Down

0 comments on commit 2ffd904

Please sign in to comment.