From f17db74dd3e247f42e8b26a8f99b70a6c80e6136 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Sat, 3 Apr 2021 01:31:55 +0100 Subject: [PATCH] Move to a GitHub action (instead of container-based) CI approach Also, that GitHub action is now the "official" action for Erlang+rebar3 CI, as per EEF --- .github/workflows/ci.yml | 8 +++++--- .travis.yml | 20 -------------------- 2 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea05d89..ed66436 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,16 @@ jobs: ci: name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}} runs-on: ${{matrix.os}} - container: - image: erlang:${{matrix.otp_vsn}} strategy: matrix: - otp_vsn: [19.3, 20.3, 21.3, 22.3, 23.0] + otp_vsn: [20, 21, 22, 23] os: [ubuntu-latest] steps: - uses: actions/checkout@v2 + - uses: erlef/setup-beam@v1.7.0 + with: + otp-version: ${{matrix.otp_vsn}} + rebar3-version: '3.14' - run: rebar3 as test xref - run: rebar3 as test dialyzer - run: rebar3 as test ct diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5b41a60..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -sudo: false -language: erlang -otp_release: - - 23.0 - - 22.3 - - 21.3 - - 20.3 - - 19.3 -before_install: - - ./ci before_install "${PWD:?}"/rebar3 - - pip install --user codecov -install: - - ./ci install "${PWD:?}"/rebar3 -script: - - ./ci script "${PWD:?}"/rebar3 -cache: - directories: - - .plt -after_success: - - codecov