Skip to content

Commit

Permalink
Use GitHub Actions CI for supported Ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Nov 14, 2020
1 parent d81b977 commit d18a88f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 21 deletions.
File renamed without changes.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', 'jruby-9.1.17.0', 'jruby-9.2.13.0' ]
name: ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_GEMFILE: .ci.gemfile
- run: bundle exec rake
env:
BUNDLE_GEMFILE: .ci.gemfile
23 changes: 2 additions & 21 deletions .travis.yml
Expand Up @@ -2,31 +2,12 @@ language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.12.0
- jruby-9.2.13.0
- jruby-head
- ruby-head
- truffleruby
matrix:
include:
- rvm: 1.8.7
dist: trusty
- rvm: 1.9.2
dist: trusty
allow_failures:
- rvm: jruby-head
- rvm: jruby-9.0.5.0
- rvm: ruby-head
- rvm: truffleruby
gemfile: .travis.gemfile
gemfile: .ci.gemfile
before_install:
- gem install bundler || gem install bundler --version '< 2'
- gem install bundler --version '< 2'

0 comments on commit d18a88f

Please sign in to comment.