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

Use GitHub Actions instead of Travis CI. #1

Merged
merged 1 commit into from Dec 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/macos.yml
@@ -0,0 +1,22 @@
name: macos

on: [push, pull_request]

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Bundler
run: gem install bundler --no-document
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
33 changes: 33 additions & 0 deletions .github/workflows/ubuntu-rvm.yml
@@ -0,0 +1,33 @@
name: ubuntu-rvm

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 'ruby-head' ]
fail-fast: false
steps:
- uses: actions/checkout@master
- name: Set up RVM
run: |
curl -sSL https://get.rvm.io | bash
- name: Set up Ruby
run: |
source $HOME/.rvm/scripts/rvm
rvm install ${{ matrix.ruby }} --binary
rvm --default use ${{ matrix.ruby }}
- name: Set up Bundler
run: |
source $HOME/.rvm/scripts/rvm
gem install bundler --no-document
- name: Install dependencies
run: |
source $HOME/.rvm/scripts/rvm
bundle install
- name: Run test
run: |
source $HOME/.rvm/scripts/rvm
rake
22 changes: 22 additions & 0 deletions .github/workflows/ubuntu.yml
@@ -0,0 +1,22 @@
name: ubuntu

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Bundler
run: gem install bundler --no-document
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.