Skip to content

Commit

Permalink
coveralls.io integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschmidt committed Oct 11, 2015
1 parent 4210ff8 commit 1d1e324
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,8 @@ before_install:
before_script:
- cd test/JSON-Schema-Test-Suite/remotes && python -m SimpleHTTPServer 1234 &
- cd test/schemata && python -m SimpleHTTPServer &
script:
- "MIX_ENV=test mix coveralls.travis"
notifications:
email:
- jonas.schmidt@gmx.com
7 changes: 5 additions & 2 deletions mix.exs
Expand Up @@ -8,7 +8,9 @@ defmodule ExJsonSchema.Mixfile do
elixir: "~> 1.0",
description: "A JSON Schema validator with full support for the draft 4 specification.",
deps: deps,
package: package
package: package,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test]
]
end

Expand All @@ -31,7 +33,8 @@ defmodule ExJsonSchema.Mixfile do
defp deps do
[
{:httpoison, "~> 0.6", only: :test},
{:poison, "~> 1.4", only: :test}
{:poison, "~> 1.4", only: :test},
{:excoveralls, "~> 0.3", only: :test}
]
end

Expand Down
10 changes: 6 additions & 4 deletions mix.lock
@@ -1,9 +1,11 @@
%{"exjsx": {:hex, :exjsx, "3.1.0"},
"hackney": {:hex, :hackney, "1.1.0"},
"httpoison": {:hex, :httpoison, "0.6.2"},
%{"coverex": {:hex, :coverex, "1.4.3"},
"excoveralls": {:hex, :excoveralls, "0.4.0"},
"exjsx": {:hex, :exjsx, "3.1.0"},
"hackney": {:hex, :hackney, "1.3.2"},
"httpoison": {:hex, :httpoison, "0.7.2"},
"idna": {:hex, :idna, "1.0.2"},
"jsex": {:hex, :jsex, "2.0.0"},
"json": {:hex, :json, "0.3.2"},
"jsx": {:hex, :jsx, "2.4.0"},
"poison": {:hex, :poison, "1.4.0"},
"ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.4"}}
"ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.5"}}

0 comments on commit 1d1e324

Please sign in to comment.