Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
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.6', '2.7' ]
rails: [ '5.0', '5.1', '5.2' ]
# exclude:
# - { ruby: '2.1', rails: '5.0' }
env:
BUNDLE_GEMFILE: gemfiles/rails-${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
6 changes: 0 additions & 6 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.png)](https://travis-ci.org/pda/flip)
[![Build Status](https://github.com/envato/flip/actions/workflows/test.yml/badge.svg)](https://github.com/envato/flip/actions/workflows/test.yml)

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

Expand Down
6 changes: 6 additions & 0 deletions gemfiles/rails-5.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "activesupport", "~>5.0.0"
gem "i18n"

gemspec path: "../"
6 changes: 6 additions & 0 deletions gemfiles/rails-5.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "activesupport", "~>5.1.0"
gem "i18n"

gemspec path: "../"
6 changes: 6 additions & 0 deletions gemfiles/rails-5.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gem "activesupport", "~>5.2.0"
gem "i18n"

gemspec path: "../"