Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate TravisCI to GitHub Actions & Update Tested Ruby Versions #195

Merged
merged 2 commits into from
May 9, 2022

Commits on May 8, 2022

  1. Migrate TravisCI to GitHub Actions

    This repo hasn't received much attention recently. As such, the TravisCI
    yaml file was referencing
    [EOL](https://www.ruby-lang.org/en/downloads/branches/) versions of
    ruby. Moreover, TravisCI itself isn't generally used for open source
    anymore. There are heavy restrictions on build minutes, as noted
    [here](jekyll/jekyll#8492) in the core Jekyll
    project.
    
    This PR does the following:
    
     * Removes `.travis.yml`. We won't run jobs on TravisCI anymore.
     * Replaces it with `.github/workflows/ci.yml`. We'll start running CI
       on GitHub Actions.
     * Updates tested Ruby versions to 2.7, 3.0, and jruby 9.3.4. This is a
       subset of the ruby versions currently supported/tested by [Jekyll core](https://github.com/jekyll/jekyll/blob/796ae15c31147d1980662744ef0f19a15a27cdee/.github/workflows/ci.yml#L20-L28).
       I plan to add support for Ruby 3.1 in a subsequent commit, but doing so
       will require additional code changes and I wanted to start be getting
       the existing code under test in CI.
    
    This makes progress toward jekyll#192. I plan to work toward supporting Ruby 3
    with fast SVD support and Numo in classifier-reborn, but the first step
    is getting CI working with the existing code.
    mkasberg committed May 8, 2022
    Configuration menu
    Copy the full SHA
    abd9336 View commit details
    Browse the repository at this point in the history
  2. Support Ruby 3.1

    One of the [changes](https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/)
    in Ruby 3.1 is that `matrix` is no longer a default gem. As such, we
    need to add it as a dependency to our gemspec for compatibility with
    Ruby 3.1.
    mkasberg committed May 8, 2022
    Configuration menu
    Copy the full SHA
    251a305 View commit details
    Browse the repository at this point in the history