Skip to content
Permalink
Browse files
add cover test info
  • Loading branch information
DLive committed Apr 24, 2019
1 parent aa2b50e commit 358956501e5ce997994d1a8fe98ea22e6bd64c8b
Showing 3 changed files with 21 additions and 4 deletions.
@@ -17,3 +17,4 @@ _build
target
*.iml
*.crashdump
codecov.json
@@ -1,7 +1,13 @@
language: erlang
sudo: true
install:
- sudo pip install codecov
otp_release:
- 21.0.4
sudo: false

script:
- rebar3 compile
- rebar3 eunit -c
- rebar3 codecov analyze

after_success:
- codecov
@@ -5,9 +5,19 @@
{root_dir, "."}.
{project_app_dirs, ["."]}.
{extra_src_dirs, ["test"]}.
{ct_opts, []}.
{plugins, [
rebar3_hex,
{rebar3_codecov, "0.1.0"}
]}.

{provider_hooks,
[
{post, [{ct, {codecov, analyze}}]},
{post, [{eunit, {codecov, analyze}}]}
]}.

{plugins, [rebar3_hex]}.
{cover_enabled, true}.
{cover_export_enabled,true}.

{deps, [
{erlzk, ".*", {git, "https://github.com/huaban/erlzk.git", {tag, "v0.6.2"}}},

0 comments on commit 3589565

Please sign in to comment.