Skip to content

Commit 1b2a7fd

Browse files
authored
Merge pull request #1 from ruby/actions
Use GitHub Actions instead of Travis CI
2 parents df75adf + c3256e3 commit 1b2a7fd

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ubuntu
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
8+
strategy:
9+
matrix:
10+
ruby: [ 2.7, 2.6, 2.5, head ]
11+
os: [ ubuntu-latest, macos-latest ]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@master
15+
- name: Set up Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: ${{ matrix.ruby }}
19+
- name: Install dependencies
20+
run: |
21+
gem install bundler --no-document
22+
bundle install
23+
- name: Run test
24+
run: rake test

.travis.yml

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

net-imap.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
1313
spec.summary = %q{Ruby client api for Internet Message Access Protocol}
1414
spec.description = %q{Ruby client api for Internet Message Access Protocol}
1515
spec.homepage = "https://github.com/ruby/net-imap"
16-
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
16+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
1717

1818
spec.metadata["homepage_uri"] = spec.homepage
1919
spec.metadata["source_code_uri"] = spec.homepage

0 commit comments

Comments
 (0)