Skip to content

Commit 63a23f2

Browse files
authored
Switch to GitHub Actions for CI (#23)
1 parent 47b9f8c commit 63a23f2

4 files changed

Lines changed: 31 additions & 19 deletions

File tree

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
ruby:
10+
- '2.3'
11+
- '2.4'
12+
- '2.5'
13+
- '2.6'
14+
- '2.7'
15+
- '3.0'
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: ${{ matrix.ruby }}
21+
bundler-cache: true
22+
- name: Run tests
23+
run: bundle exec rake

.travis.yml

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

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ source "https://rubygems.org"
22

33
gem "rake"
44
gem "rake-compiler"
5-
gem "test-unit", "~> 2.0.4"
5+
gem "test-unit", "~> 3.3.9"
66

77
gemspec

Gemfile.lock

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,21 @@ PATH
66
GEM
77
remote: https://rubygems.org/
88
specs:
9-
rake (10.4.2)
10-
rake-compiler (0.9.5)
9+
power_assert (2.0.1)
10+
rake (13.0.6)
11+
rake-compiler (1.1.1)
1112
rake
12-
test-unit (2.0.9)
13+
test-unit (3.3.9)
14+
power_assert
1315

1416
PLATFORMS
1517
ruby
1618

1719
DEPENDENCIES
1820
rake
1921
rake-compiler
20-
test-unit (~> 2.0.4)
22+
test-unit (~> 3.3.9)
2123
version_sorter!
2224

2325
BUNDLED WITH
24-
1.16.1
26+
2.2.29

0 commit comments

Comments
 (0)