From d5de8425625f6f22f0b4076bc352f918a526a158 Mon Sep 17 00:00:00 2001 From: Petr Stepchenko Date: Thu, 17 Nov 2022 23:43:55 +0300 Subject: [PATCH] Migrate from travis ci to github actions (#193) * Add github actions * FIx CI versions * Remove travis --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ .travis.yml | 14 -------------- 2 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fa0d9f2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +on: push + +jobs: + test: + runs-on: ubuntu-latest + name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} + strategy: + matrix: + include: + - otp: 25.1 + elixir: 1.14.2 + - otp: 21.3 + elixir: 1.7.4 + + + steps: + - uses: actions/checkout@v2 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + elixir-version: ${{matrix.elixir}} + - run: mix deps.get + - run: mix test \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4610066..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: elixir - -jobs: - include: - - elixir: '1.6' - otp_release: '20.0' - - elixir: '1.7' - otp_release: '20.0' - - elixir: '1.8' - otp_release: '20.0' - - elixir: '1.9' - otp_release: '20.0' - - elixir: '1.10' - otp_release: '21.0'