From db5c228385f9125185a310bacd9d51bcb0fdab5f Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Mon, 15 Mar 2021 12:28:17 +0000 Subject: [PATCH] Switch to github actions --- .github/workflows/erlang.yml | 23 +++++++++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 23 insertions(+), 8 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..8d76c7d --- /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