Add xref check to travis

This commit is contained in:
Сергей Прохоров 2019-02-16 16:15:09 +01:00
parent 2b24b366c8
commit 1726701e2d
No known key found for this signature in database
GPG key ID: 1C570244E4EF3337
2 changed files with 10 additions and 0 deletions

View file

@ -6,4 +6,5 @@ otp_release:
#- 18.3 not supported (string:lexemes/2, tricky binary comprehension, map typespec with `:=`, ?assertEqual/3)
script:
- ./rebar3 compile
- ./rebar3 xref
- ./rebar3 eunit

View file

@ -6,6 +6,15 @@
{lager, "3.6.3"}
]}.
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
%% exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{relx, [{release, { mtp_proxy, "0.1.0" },
[lager,
ranch,