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 cb93aed..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, xref, compile, dialyzer, eunit diff --git a/rebar.config b/rebar.config index 65a2896..a290b8a 100644 --- a/rebar.config +++ b/rebar.config @@ -3,16 +3,16 @@ {deps, [ %% ibrowse for doing HTTP requests - {ibrowse, {git, "git://github.com/basho/ibrowse.git", {tag, "riak_kv-3.0.0"}}}, + {ibrowse, {git, "git://github.com/basho/ibrowse.git", {tag, "4.4.2+riak.3.0.4"}}}, %% webmachine for multipart content parsing, will pull in mochiweb as a dep {webmachine, {git, "git://github.com/webmachine/webmachine.git", {tag, "1.11.1"}}}, %% mochiweb needed due to issues with webmachine version used - {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"}}}, %% riak-erlang-client for riakc_obj - {riakc, {git, "git://github.com/basho/riak-erlang-client", {tag, "riak_kv-3.0.2"}}} + {riakc, {git, "git://github.com/basho/riak-erlang-client", {tag, "3.0.4"}}} ]}. {edoc_opts, [