Skip to content

Commit

Permalink
Merge pull request #1 from ruby/actions
Browse files Browse the repository at this point in the history
Use GitHub Actions instead of Travis CI
  • Loading branch information
hsbt authored Mar 26, 2020
2 parents 4fda3ce + 545b93f commit 7117545
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ubuntu

on: [push, pull_request]

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

This file was deleted.

0 comments on commit 7117545

Please sign in to comment.