Skip to content

Commit

Permalink
new profile for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniusa committed Mar 13, 2019
1 parent d428bcf commit 492d2cd
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@
{i, "include"}
]}.

{cover_enabled, true}.

{plugins, [coveralls]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{coveralls_coverdata, "_build/test/cover/*.coverdata"}.
{coveralls_service_name, "travis-ci"}.

{eunit_opts, [verbose, {report, {eunit_surefire, [{dir, "logs/"}]}}]}.

Expand Down Expand Up @@ -135,10 +128,13 @@


% lint tool for style checking
{profiles, [
{lint, [
{plugins, [{rebar3_lint, {git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "0.1.2"}}}]}
]}
{profiles,[
{lint, [
{plugins, [{rebar3_lint, {git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "0.1.2"}}}]}
]},
{test, [
{erl_opts, [warnings_as_errors, debug_info, no_inline_list_funcs]},
{plugins, [{coveralls, {git, "https://github.com/markusn/coveralls-erl", {branch, "master"}}}]}]}
]}.

% configuration of style rules
Expand Down Expand Up @@ -186,3 +182,8 @@
}
]
}.

{cover_enabled, true}.
{cover_export_enabled, true}.
{coveralls_coverdata, "_build/test/cover/*.coverdata"}.
{coveralls_service_name, "travis-ci"}.

0 comments on commit 492d2cd

Please sign in to comment.