diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ad5ec77 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: Ruby + +on: + - push + - pull_request + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + ruby: ['3.2', '3.1', '3.0', '2.7', '2.6', '2.5', '2.4' ] + gemfile: [gemfiles/as4.gemfile, gemfiles/as5.gemfile, gemfiles/as6.gemfile] + exclude: + - ruby-version: 2.3 + gemfile: gemfiles/as6.gemfile + - ruby-version: 2.4 + gemfile: gemfiles/as6.gemfile + - ruby-version: 2.7 + gemfile: gemfiles/as4.gemfile + + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + + - run: bundle exec rake diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1a1c2dc..0000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -sudo: false -language: ruby -cache: bundler -rvm: - - jruby-9 - - 2.3 - - 2.4 - - 2.5 - - 2.6 - - 2.7 - -before_install: - - gem install bundler - -gemfile: - - gemfiles/as4.gemfile - - gemfiles/as5.gemfile - - gemfiles/as6.gemfile - -matrix: - exclude: - - rvm: 2.3 - gemfile: gemfiles/as6.gemfile - - rvm: 2.4 - gemfile: gemfiles/as6.gemfile - - rvm: 2.7 - gemfile: gemfiles/as4.gemfile - -notifications: - email: false