Skip to content

Commit 6074cde

Browse files
committed
Travis CI via multiple rails versions
1 parent 5397203 commit 6074cde

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
script: bundle exec rspec spec
2+
env:
3+
matrix:
4+
- RAILS=4.0.13
5+
- RAILS=4.1.5
6+
- RAILS=4.2.6
27
rvm:
38
- 1.9.3
49
- 2.0.0

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in active_admin_importable.gemspec
44
gemspec
55
group :test do
6+
default_rails_version = '4.2.6'
67
gem 'sprockets-rails', '2.3.3'
7-
gem 'rails', '4.2.0'
8+
gem 'rails', "#{ENV['RAILS'] || default_rails_version}"
89
gem 'rspec-rails'
910
gem 'activeadmin', github: 'activeadmin' , ref: 'd787029e5523be2eb2ed99816eb0cecca2b72862'
1011
gem 'coveralls', require: false # Test coverage website. Go to https://coveralls.io

0 commit comments

Comments
 (0)