diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a69e7aa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +on: push + +jobs: + test: + runs-on: ubuntu-latest + name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} + strategy: + matrix: + otp: ['24.3.4.10', '25.3'] + elixir: ['1.13.4', '1.14.4'] + steps: + - uses: actions/checkout@v3 + - uses: erlef/setup-beam@v1.15.3 + with: + otp-version: ${{matrix.otp}} + elixir-version: ${{matrix.elixir}} + version-type: strict + - run: mix deps.get + - run: mix test --cover diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0fef63c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ -language: elixir -matrix: - include: - - elixir: 1.9 - otp_release: 22.3 - - elixir: 1.10 - otp_release: 22.3 - - elixir: 1.10 - otp_release: 23.3 - - elixir: 1.11 - otp_release: 22.3 - - elixir: 1.11 - otp_release: 23.3 - - elixir: 1.11 - otp_release: 24.3 - - elixir: 1.12 - otp_release: 22.3 - - elixir: 1.12 - otp_release: 23.3 - - elixir: 1.12 - otp_release: 24.3 - - elixir: 1.13 - otp_release: 22.3 - - elixir: 1.13 - otp_release: 23.3 - - elixir: 1.13 - otp_release: 24.3 - - elixir: 1.13 - otp_release: 25.3 - - elixir: 1.14 - otp_release: 22.3 - - elixir: 1.14 - otp_release: 23.3 - - elixir: 1.14 - otp_release: 24.3 - - elixir: 1.14 - otp_release: 25.3 -script: "MIX_ENV=test mix do deps.get, deps.compile, test --cover" diff --git a/README.md b/README.md index 9def254..924606c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Elixir macro utilities to make type-based programming easier. [![Hex.pm](http://img.shields.io/hexpm/v/croma.svg)](https://hex.pm/packages/croma) [![Hex.pm](http://img.shields.io/hexpm/dt/croma.svg)](https://hex.pm/packages/croma) -[![Build Status](https://travis-ci.com/skirino/croma.svg)](https://travis-ci.com/github/skirino/croma) [![Coverage Status](https://coveralls.io/repos/github/skirino/croma/badge.svg?branch=master)](https://coveralls.io/github/skirino/croma?branch=master) ## Usage