From 9fe3afa6849d8c2d7ee82de55918bd06af012272 Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Mon, 1 Feb 2021 09:25:18 +0530 Subject: [PATCH] switch to GitHub Actions --- .github/workflows/checks.yml | 22 ++++++++++++++++++++++ .travis.yml | 9 --------- 2 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/checks.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..065eb49 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,22 @@ +name: Checks + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + ruby: + runs-on: ubuntu-latest + strategy: + matrix: + ruby: ['2.3', '2.4', '2.5', '2.6', '2.7'] + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: rake spec + run: bundle exec rake spec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 39a48eb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -sudo: required -before_install: gem update --system -dist: trusty -language: ruby -rvm: - - 2.3 - - 2.4 - - 2.5 - - 2.6