From dc6603e8ed0e0038282dd2d3e467a74fe824e348 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 10 Jun 2024 15:57:24 +0100 Subject: [PATCH 1/2] CI: add GitHub Actions --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2d75f3c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + ruby-version: + - 3.3 + - 3.2 + - 3.1 + - "3.0" + - jruby-9.4 + + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby ${{ matrix.ruby-version }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Run tests + run: bundle exec rake \ No newline at end of file From 015a7dd14294fb44a8bb448478079444ec9904ce Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Mon, 10 Jun 2024 15:57:46 +0100 Subject: [PATCH 2/2] Drop Travis --- .travis.yml | 8 -------- README.md | 1 - 2 files changed, 9 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ed740c6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: ruby -rvm: - - 2.4.10 - - 2.5.8 - - 2.6.6 - - 2.7.1 - - jruby-9.1.17.0 - - jruby-9.2.12.0 diff --git a/README.md b/README.md index 67be9fa..6541478 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ -[![Build Status](https://travis-ci.org/railslove/cmxl.svg?branch=master)](https://travis-ci.org/railslove/cmxl) [![Gem Version](https://badge.fury.io/rb/cmxl.svg)](http://badge.fury.io/rb/cmxl) # Cmxl - your friendly ruby MT940 parser