Skip to content

Commit 41561e8

Browse files
authored
Merge pull request #24 from willnet/migrate-from-travisci-to-githubactions
Stop using Travis CI and switch to GitHub Actions
2 parents 3584f6a + 04b9f83 commit 41561e8

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)