Skip to content

Commit

Permalink
Prefer GitHub Actions for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Feb 22, 2022
1 parent 1ab4499 commit f63db9e
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 15 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Development

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby, truffleruby-head]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2

- name: Installing packages (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libmemcached-dev

- name: Installing packages (macos)
if: matrix.os == 'macos-latest'
run: brew install libmemcached

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true

- run: bundle exec rake
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "https://rubygems.org"
gemspec

gem 'rack', '~> 1.6' if ENV['RUBY_VERSION'] =~ /^1\.9|2\.0/
gem 'dalli', '~> 2.7' if RUBY_VERSION <= "2.4"

0 comments on commit f63db9e

Please sign in to comment.