Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: elixir
elixir:
- 1.7
- 1.8
- 1.9
otp_release:
- 21.3
- 20.3
env:
- MIX_ENV=test
script:
- "mix do deps.get, compile, coveralls.travis"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Build Status](https://travis-ci.org/belfastelixir/DMS.svg?branch=master)](https://travis-ci.org/belfastelixir/DMS)
[![Coverage Status](https://coveralls.io/repos/github/belfastelixir/DMS/badge.svg?branch=master)](https://coveralls.io/github/belfastelixir/DMS?branch=master)

# DMS (Dead Man's Switch)

A simple OTP Application (and eventually an HTTP API) which enables short
Expand Down
7 changes: 5 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ defmodule DMS.MixProject do
main: "DMS",
extras: ["README.md"]
],
elixirc_paths: elixirc_paths(Mix.env())
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test]
]
end

Expand All @@ -41,7 +43,8 @@ defmodule DMS.MixProject do
{:credo, "~> 1.0", only: [:dev]},
{:dialyxir, "~> 0.5.1", only: [:dev]},
{:ex_doc, "~> 0.19", only: [:dev], runtime: false},
{:stream_data, "~> 0.4.3", only: [:test]}
{:stream_data, "~> 0.4.3", only: [:test]},
{:excoveralls, "~> 0.10", only: :test}
]
end
end