From 25fe06c9410b56a8936f08dc2f310be9bb358e7d Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 13 Feb 2020 11:51:54 +0000 Subject: [PATCH] Update for 2.9.1 release Change riak_core dependency. ther eis a long-running dialyzer warning - so added to ignore_warnings (this is fixed in develop-3.0) --- .gitignore | 1 + .travis.yml | 10 +++++----- dialyzer.ignore-warnings | 3 +++ rebar.config | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 598423b..6dcdd7e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ erl_crash.dump EUnit-SASL.log .local_dialyzer_plt .rebar/ +dialyzer_warnings diff --git a/.travis.yml b/.travis.yml index 5f0c09c..65adc7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: erlang -notifications: - webhooks: http://basho-engbot.herokuapp.com/travis?key=cf2b9b83873cc2de2a01fad26e1c98cf2882fb02 - email: eng@basho.com -script: "make dialyzer xref test" +script: + - make xref + - make dialyzer + - make test otp_release: - - R16B02 + - R16B03 diff --git a/dialyzer.ignore-warnings b/dialyzer.ignore-warnings index cab2b23..077e1f2 100644 --- a/dialyzer.ignore-warnings +++ b/dialyzer.ignore-warnings @@ -1,6 +1,9 @@ riak_pipe_qcover_fsm.erl:43: Callback info about the riak_core_coverage_fsm behaviour is not available riak_pipe_vnode.erl:24: Callback info about the riak_core_vnode behaviour is not available riak_pipe_fitting.erl:571: The variable QLimit can never match since previous clauses completely covered the type pos_integer() +riak_pipe_v.erl:120: Function type_of/1 has no local return +riak_pipe_v.erl:122: The attempt to match a term of type erl_types:erl_type() against the pattern {'c', 'identifier', [Type | _], _} breaks the opaqueness of the term +riak_pipe_v.erl:124: The attempt to match a term of type erl_types:erl_type() against the pattern {'c', Type, _, _} breaks the opaqueness of the term Unknown functions: cluster_info:format/3 cluster_info:register_app/1 diff --git a/rebar.config b/rebar.config index 3e1684a..97812d1 100644 --- a/rebar.config +++ b/rebar.config @@ -7,5 +7,5 @@ {xref_checks, []}. {xref_queries, [{"(XC - UC) || (XU - X - B - cluster_info : Mod)", []}]}. {deps, [ - {riak_core, ".*", {git, "git://github.com/basho/riak_core.git", {tag, "riak_kv-2.9.0"}}} + {riak_core, ".*", {git, "git://github.com/basho/riak_core.git", {tag, "riak_kv-2.9.1"}}} ]}.