Skip to content

Commit 4aed6e6

Browse files
authored
Merge pull request #98 from mvz/build-with-github-actions
Replace Travis CI build with GitHub Action
2 parents 2228ac8 + 57f216d commit 4aed6e6

2 files changed

Lines changed: 31 additions & 18 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will download a prebuilt Ruby version, install dependencies and
2+
# run tests with Rake
3+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
4+
5+
name: Ruby
6+
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
jobs:
14+
test:
15+
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
matrix:
20+
ruby: [2.5, 2.6, 2.7, "3.0"]
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
30+
- name: Run tests
31+
run: bundle exec rake spec

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)