Skip to content

Commit

Permalink
Merge pull request #29 from basho/develop-3.0-292
Browse files Browse the repository at this point in the history
Update for OTP 22
  • Loading branch information
martinsumner authored May 7, 2020
2 parents 18ed572 + 475cbc4 commit 389d43a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 73 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: erlang
notifications:
webhooks: http://basho-engbot.herokuapp.com/travis?key=74319455557abd99a9de585cf48bc99577cbac1c
email: [email protected]
otp_release:
- R15B01
- R15B
- R14B04
- R14B03
- 20.3.8
- 21.3
- 22.3
script:
- chmod u+x rebar3
- ./rebar3 do upgrade, compile, xref, dialyzer, eunit
74 changes: 8 additions & 66 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,48 +24,11 @@
warn_export_all,
warn_export_vars,
warn_obsolete_guard,
warn_unused_import
warn_unused_import,
warnings_as_errors
]}.

{profiles, [
{check, [
{dialyzer, [
{warnings, [
error_handling,
race_conditions,
unknown,
unmatched_returns
]}
]},
{erl_opts, [
debug_info,
warnings_as_errors,
{d, 'BASHO_CHECK'}
]},
{xref_checks, [
deprecated_function_calls,
deprecated_functions,
locals_not_used,
undefined_function_calls,
undefined_functions
]}
]},
{docs, [
{edoc_opts, [
{app_default, "http://www.erlang.org/doc/man"},
{preprocess, true},
{macros, [
{'EDOC', true},
{'BASHO_DOCS', true}
]}
]}
]},
{prod, [
{erl_opts, [
warnings_as_errors,
{d, 'BASHO_PROD'}
]}
]},
{test, [
{cover_enabled, true},
{erl_opts, [
Expand All @@ -76,33 +39,12 @@
warnings_as_errors,
{d, 'BASHO_TEST'}
]}
]},
{validate, [
{erl_opts, [
strong_validation,
no_auto_import,
warn_bif_clash,
warn_deprecated_function,
warn_deprecated_type,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_missing_spec_all,
warn_obsolete_guard,
warn_shadow_vars,
warn_untyped_record,
warn_unused_function,
warn_unused_import,
warn_unused_record,
warn_unused_vars,
{d, 'BASHO_VALIDATE'}
]}
]}
]}.

{plugins, [
{basho_rebar_tools,
{git, "https://github.com/basho/basho_rebar_tools.git",
{branch, "master"} }}
]}.

{xref_checks,[
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions]}.
Binary file added rebar3
Binary file not shown.

0 comments on commit 389d43a

Please sign in to comment.