Skip to content

Commit cbf964d

Browse files
authored
Add GitHub actions CI setup (#428)
Use GitHub actions instead of Travis for CI. This removes coverage for jruby and ruby head in favor of the well-supported versions
1 parent 6d8fca4 commit cbf964d

File tree

2 files changed

+23
-28
lines changed

2 files changed

+23
-28
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build + Test
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
name: Build + Test
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
ruby: [ '2.4', '2.5', '2.6' ]
11+
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Set up Ruby ${{ matrix.ruby }}
15+
uses: actions/setup-ruby@v1
16+
with:
17+
version: ${{ matrix.ruby }}
18+
- name: Build and test with Rake
19+
run: |
20+
gem install bundler
21+
bundle install --jobs 4 --retry 3 --without guard
22+
bundle exec rspec spec
23+
bundle exec rubocop

.travis.yml

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

0 commit comments

Comments
 (0)