Skip to content

Commit 8deceed

Browse files
authored
Merge pull request #103 from flavorjones/flavorjones-migrate_ci_to_github_actions
migrate ci to GitHub actions
2 parents 71ccffb + 9effe13 commit 8deceed

File tree

5 files changed

+83
-39
lines changed

5 files changed

+83
-39
lines changed

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7+
8+
name: build
9+
10+
on: [pull_request, push]
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-20.04
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
ruby:
19+
- '3.1'
20+
- '3.0'
21+
- '2.7'
22+
- '2.6'
23+
- '2.5'
24+
- ruby-head
25+
- jruby
26+
activesupport:
27+
- '7.0'
28+
- '6.1'
29+
- '6.0'
30+
- '5.2'
31+
exclude:
32+
- ruby: '2.5'
33+
activesupport: '7.0'
34+
- ruby: '2.6'
35+
activesupport: '7.0'
36+
- ruby: '2.7'
37+
activesupport: '5.2'
38+
- ruby: '3.0'
39+
activesupport: '5.2'
40+
- ruby: '3.0'
41+
activesupport: '6.0'
42+
- ruby: '3.1'
43+
activesupport: '5.2'
44+
- ruby: '3.1'
45+
activesupport: '6.0'
46+
- ruby: ruby-head
47+
activesupport: '5.2'
48+
- ruby: ruby-head
49+
activesupport: '6.0'
50+
- ruby: ruby-head
51+
activesupport: '6.1'
52+
- ruby: jruby
53+
activesupport: '7.0'
54+
env:
55+
BUNDLE_GEMFILE: gemfiles/active_support_${{ matrix.activesupport }}.gemfile
56+
steps:
57+
- uses: actions/checkout@v2
58+
- uses: ruby/setup-ruby@v1
59+
with:
60+
ruby-version: ${{ matrix.ruby }}
61+
bundler-cache: true
62+
- run: bundle exec rake

.travis.yml

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

gemfiles/active_support_5.2.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "activesupport", "~> 5.2.0"
4+
5+
gem "nokogiri", ">= 1.7.0"
6+
7+
gemspec path: "../"

gemfiles/active_support_6.1.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "activesupport", "~> 6.1.0"
4+
5+
gem "nokogiri", ">= 1.7.0"
6+
7+
gemspec path: "../"

gemfiles/active_support_7.0.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "activesupport", "~> 7.0.0"
4+
5+
gem "nokogiri", ">= 1.7.0"
6+
7+
gemspec path: "../"

0 commit comments

Comments
 (0)