Skip to content

Commit 04b9f83

Browse files
committed
Stop using Travis CI and switch to GitHub Actions
We previously used Travis CI conveniently, but as of 2024, [using Travis CI to build OSS requires contacting them to get a fixed amount of credits each month](https://docs.travis-ci.com/user/billing-faq/#what-if-i-am-building-open-source), making it cumbersome. We want to reduce the hassle by migrating from Travis CI to GitHub Actions. In the migration to GitHub Actions, we have configured CI to work with Ruby up to version 3.3. Additionally, since [@ruby/setup-ruby](https://github.com/ruby/setup-ruby) does not support Rubinius, it has been excluded. Older versions of JRuby are not supported either, so we have only specified jruby and jruby-head.
1 parent b6cfec0 commit 04b9f83

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Ruby CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'head', 'jruby', 'jruby-head']
12+
continue-on-error: ${{ matrix.ruby-version == 'jruby-head' || matrix.ruby-version == 'head' }}
13+
env:
14+
JRUBY_OPTS: '--debug'
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: ${{ matrix.ruby-version }}
21+
bundler-cache: true
22+
- name: Run tests
23+
run: bundle exec rake

.travis.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)