Skip to content

Commit dc228b3

Browse files
authored
ci: move to GitHub Actions (#882)
* Create rubocop.yml * remove travis.yml
1 parent 6f10a2a commit dc228b3

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

.github/workflows/rubocop.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: rubocop
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7]
15+
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: ${{ matrix.ruby }}
24+
- name: Install dependencies
25+
run: bundle install
26+
- name: Run tests
27+
run: bundle exec rake rubocop

.travis.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)