Skip to content

Commit

Permalink
Move to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hahmed committed Jun 17, 2021
1 parent 5c0ecb0 commit 97575c7
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 28 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,30 @@
name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- { ruby: 2.5 }
- { ruby: 2.6 }
- { ruby: 2.7 }
- { ruby: 3.0, allow-failure: true }
- { ruby: head, allow-failure: true }
gemfile: [
"Gemfile",
"gemfiles/Gemfile.rails-5.2.x",
"gemfiles/Gemfile.rails-5.2.x.sprockets-4.x",
"gemfiles/Gemfile.rails-6.0.x",
"gemfiles/Gemfile.rails-6.0.x.sprockets-4.x"
]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
run: bundle exec rake
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions CONTRIBUTING.md
@@ -1,8 +1,6 @@
Contributing to Sprockets Rails
=====================

[![Build Status](https://travis-ci.org/rails/sprockets-rails.svg?branch=master)](https://travis-ci.org/rails/sprockets-rails)

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).

#### Fork the Project
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -196,5 +196,4 @@ Sprockets Rails is released under the [MIT License](MIT-LICENSE).

## Code Status

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

0 comments on commit 97575c7

Please sign in to comment.