Skip to content

Commit

Permalink
Merge pull request #96 from operable/cm/coveralls
Browse files Browse the repository at this point in the history
Add Coveralls
  • Loading branch information
christophermaier committed Mar 8, 2017
2 parents 233909d + 18bef1a commit bfab2e6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: elixir
elixir: 1.3.4
otp_release: 19.1

script: mix coveralls.travis

notifications:
slack:
secure: QMiA2teRX3nxtYueacWInI/zEm69TH2eXYwGB7eLzXoG9AYVtwvUkPuyHGMJyTK5osWIb+ADuQo6I7dv1cgdSqJVj4CwkslwZii+L1Q+xfIr4De0YTDoRu9S/gn1g5T0NfIc1xKBahFwnakjSqAGkT8e86lIaS4fxZIT1VxHdMAceM6aBQTDOX9BAfaeWxCGD3aT3PpohaptqONPjK9pF12RWTRldb2L7YrbGXMH3ul06IJRkaMwdycJyr1kJToDv2w3tcyFMKWNzCe7OAFpATy+Q53UGSiFdE5QTjRbvjxykFQJ7ecQuWNqM/XR7RjFFDPw9rPXx6LzINRIb6j1sqOyL5fzXd35/qsMI51bdvYHsdnVtuvjg7UxDRQmyCEqP4K/f32BHgJYMZAHQ4XDlyiCe+Zq8PwQZXpYQpqhdaeOZqkcxEo/JEqCttiGurgE+48Ulj0uZL7CH0E7uBwCH4qG1LZpmDyxMPgwcLFxC3Lb32C8otR6ocUzZkUQGwWC4rCC23WZGQ6155qkCizmSU+MJHa3dj5XX2oezlhRMwz1cUZHZBZL63Icqi79gQp810IuF2Cvsof2jV/6PnC+2/nTdOU8LvkxquL35jBT/hS1g5X36bkrk9htsnb82bggG0Klw8m5HSKgUCOmVytapS5SkPtK00sLpxNCDysPNoE=
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Spanner

[![Build Status](https://travis-ci.org/operable/spanner.svg?branch=master)](https://travis-ci.org/operable/spanner)
[![Coverage Status](https://coveralls.io/repos/github/operable/spanner/badge.svg)](https://coveralls.io/github/operable/spanner)

Spanner defines the bundle interfaces used by [Cog](https://github.com/operable/cog).

Expand Down
8 changes: 7 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ defmodule Spanner.Mixfile do
elixir: "~> 1.3.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test,
"coveralls.html": :test,
"coveralls.travis": :test],
deps: deps]
end

Expand All @@ -18,6 +22,8 @@ defmodule Spanner.Mixfile do
defp deps do
[{:piper, github: "operable/piper"},
{:yaml_elixir, "~> 1.2"},
{:ex_json_schema, "~> 0.5"}]
{:ex_json_schema, "~> 0.5"},

{:excoveralls, "~> 0.6", only: :test}]
end
end
11 changes: 10 additions & 1 deletion mix.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
%{"ex_json_schema": {:hex, :ex_json_schema, "0.5.1", "83356e5a673d6fbe75da612a44b8f84942711630414d8be5e342f3597b03939a", [:mix], []},
%{"certifi": {:hex, :certifi, "1.0.0", "1c787a85b1855ba354f0b8920392c19aa1d06b0ee1362f9141279620a5be2039", [:rebar3], []},
"ex_json_schema": {:hex, :ex_json_schema, "0.5.1", "83356e5a673d6fbe75da612a44b8f84942711630414d8be5e342f3597b03939a", [:mix], []},
"excoveralls": {:hex, :excoveralls, "0.6.2", "0e993d096f1fbb6e70a3daced5c89aac066bda6bce57829622aa2d1e2b338cfb", [: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]}]},
"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]}]},
"idna": {:hex, :idna, "4.0.0", "10aaa9f79d0b12cf0def53038547855b91144f1bfcc0ec73494f38bb7b9c4961", [:rebar3], []},
"jsx": {:hex, :jsx, "2.8.2", "7acc7d785b5abe8a6e9adbde926a24e481f29956dd8b4df49e3e4e7bcc92a018", [:mix, :rebar3], []},
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], []},
"mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], []},
"piper": {:git, "https://github.com/operable/piper.git", "d69e4596cd338ab00d90e4ea6831eff11d0572c0", []},
"poison": {:hex, :poison, "2.2.0", "4763b69a8a77bd77d26f477d196428b741261a761257ff1cf92753a0d4d24a63", [:mix], []},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:make, :rebar], []},
"uuid": {:hex, :uuid, "1.1.5", "96cb36d86ee82f912efea4d50464a5df606bf3f1163d6bdbb302d98474969369", [:mix], []},
"yamerl": {:hex, :yamerl, "0.3.2", "9eac1537d251e926f47763ab1db0d9e6e8f2397646c290d58aa6ceebc6832fb7", [:rebar3], []},
"yaml_elixir": {:hex, :yaml_elixir, "1.2.1", "4a8ee3b25598100c710ff11dde4d79b6335608ac092d69aab45cc7475b5abc4d", [:mix], [{:yamerl, "~> 0.3.2", [hex: :yamerl, optional: false]}]}}

0 comments on commit bfab2e6

Please sign in to comment.