Skip to content

Commit

Permalink
Add an initial Travis configuration
Browse files Browse the repository at this point in the history
This tests against every combination of Ruby 2+ versions and minor
versions of Rails 4+, allowing failure for HEAD Ruby.
  • Loading branch information
laserlemon committed Sep 14, 2015
1 parent a2c3a20 commit 81a168a
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
@@ -0,0 +1,16 @@
branches: master
cache: bundler
gemfile:
- gemfiles/rails_4_0.gemfile
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
language: ruby
matrix:
allow_failures:
- rvm: ruby-head
rvm:
- "2.0"
- "2.1"
- "2.2"
- ruby-head
sudo: false
5 changes: 5 additions & 0 deletions gemfiles/rails_4_0.gemfile
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'rails', '~> 4.0.0'
5 changes: 5 additions & 0 deletions gemfiles/rails_4_1.gemfile
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'rails', '~> 4.1.0'
5 changes: 5 additions & 0 deletions gemfiles/rails_4_2.gemfile
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'rails', '~> 4.2.0'

0 comments on commit 81a168a

Please sign in to comment.