Skip to content

Commit

Permalink
Use GitHub Actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Feb 14, 2023
1 parent e965bde commit e7eb903
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 31 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Tests
on: [ push, pull_request ]
jobs:
test:
name: Test (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', 'jruby-9.1' ]
rails: [ '4.0', '4.1', '4.2', '5.0', '5.1', '5.2' ]
exclude:
- { ruby: '2.0', rails: '5.2' }
- { ruby: '2.0', rails: '5.1' }
- { ruby: '2.0', rails: '5.0' }
- { ruby: '2.1', rails: '5.2' }
- { ruby: '2.1', rails: '5.1' }
- { ruby: '2.1', rails: '5.0' }
env:
BUNDLE_GEMFILE: gemfiles/rails-${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Flip — flip your features
================

[![Build Status](https://travis-ci.org/pda/flip.svg?branch=master)](https://travis-ci.org/pda/flip)
[![Build Status](https://github.com/pda/flip/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/pda/flip/actions/workflows/test.yml)

**Flip** provides a declarative, layered way of enabling and disabling application functionality at run-time.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e7eb903

Please sign in to comment.