Skip to content

Commit 97575c7

Browse files
committed
Move to github actions
1 parent 5c0ecb0 commit 97575c7

File tree

4 files changed

+30
-28
lines changed

4 files changed

+30
-28
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
tests:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
include:
9+
- { ruby: 2.5 }
10+
- { ruby: 2.6 }
11+
- { ruby: 2.7 }
12+
- { ruby: 3.0, allow-failure: true }
13+
- { ruby: head, allow-failure: true }
14+
gemfile: [
15+
"Gemfile",
16+
"gemfiles/Gemfile.rails-5.2.x",
17+
"gemfiles/Gemfile.rails-5.2.x.sprockets-4.x",
18+
"gemfiles/Gemfile.rails-6.0.x",
19+
"gemfiles/Gemfile.rails-6.0.x.sprockets-4.x"
20+
]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby }}
27+
bundler-cache: true
28+
29+
- name: Run tests
30+
run: bundle exec rake

.travis.yml

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

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Contributing to Sprockets Rails
22
=====================
33

4-
[![Build Status](https://travis-ci.org/rails/sprockets-rails.svg?branch=master)](https://travis-ci.org/rails/sprockets-rails)
5-
64
Sprockets Rails is work of [many contributors](https://github.com/rails/sprockets-rails/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/rails/sprockets-rails/pulls), [propose features and discuss issues](https://github.com/rails/sprockets-rails/issues).
75

86
#### Fork the Project

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,4 @@ Sprockets Rails is released under the [MIT License](MIT-LICENSE).
196196

197197
## Code Status
198198

199-
* [![Travis CI](https://travis-ci.org/rails/sprockets-rails.svg?branch=master)](http://travis-ci.org/rails/sprockets-rails)
200199
* [![Gem Version](https://badge.fury.io/rb/sprockets-rails.svg)](http://badge.fury.io/rb/sprockets-rails)

0 commit comments

Comments
 (0)