From 41f4b72d6a946c710e1523fd69b5b8deb5b57153 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Tue, 16 Mar 2021 15:32:32 +0000 Subject: [PATCH] Update for 3.0.4 --- .github/workflows/erlang.yml | 23 +++++++++++++++++++++++ .travis.yml | 8 -------- rebar.config | 4 ++-- 3 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/erlang.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml new file mode 100644 index 0000000..d90c0a9 --- /dev/null +++ b/.github/workflows/erlang.yml @@ -0,0 +1,23 @@ +name: Erlang CI + +on: + push: + branches: [ develop-3.0 ] + pull_request: + branches: [ develop-3.0 ] + +jobs: + + build: + + runs-on: ubuntu-latest + + container: + image: erlang:22.3.3 + + steps: + - uses: actions/checkout@v2 + - name: Compile + run: rebar3 compile + - name: Run tests + run: rebar3 do xref, dialyzer, eunit diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4b70972..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: erlang -otp_release: - - 20.3.8 - - 21.3 - - 22.3 -script: - - chmod u+x rebar3 - - ./rebar3 do upgrade, compile, xref, dialyzer, eunit diff --git a/rebar.config b/rebar.config index 376dcc3..66f9e5d 100644 --- a/rebar.config +++ b/rebar.config @@ -8,10 +8,10 @@ {eunit_opts, [verbose]}. {deps, [ - {riak_pb, {git, "git://github.com/basho/riak_pb.git", {tag, "riak_kv-3.0.2"}}}, + {riak_pb, {git, "git://github.com/basho/riak_pb.git", {tag, "3.0.4"}}}, {webmachine, {git, "git://github.com/webmachine/webmachine.git", {tag, "1.11.1"}}}, {riak_core, {git, "git://github.com/basho/riak_core.git", {tag, "riak_kv-3.0.2"}}}, - {mochiweb, {git, "git://github.com/basho/mochiweb.git", {tag, "riak_kv-3.0.0"}}} + {mochiweb, {git, "git://github.com/basho/mochiweb.git", {tag, "2.12.1+riak.3.0.4"}}} ]}. {profiles, [