From be0148696ddef6e6d69c003f154e7ee92cf82b23 Mon Sep 17 00:00:00 2001 From: SHIBATA Hiroshi Date: Tue, 29 Nov 2011 21:30:22 +0900 Subject: [PATCH] support travis-ci --- .travis.yml | 8 ++++++++ kaminari.gemspec | 1 + 2 files changed, 9 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3bbc7af --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +rvm: + - 1.8.7 + - 1.9.2 + - 1.9.3 + - ruby-head + - ree + +script: bundle exec rake spec diff --git a/kaminari.gemspec b/kaminari.gemspec index 98e6366..0dd3c76 100644 --- a/kaminari.gemspec +++ b/kaminari.gemspec @@ -24,6 +24,7 @@ Gem::Specification.new do |s| s.add_dependency 'railties', ['>= 3.0.0'] s.add_development_dependency 'bundler', ['>= 1.0.0'] s.add_development_dependency 'sqlite3', ['>= 0'] + s.add_development_dependency 'activerecord', ['>= 3.0.0'] s.add_development_dependency 'mongoid', ['>= 2'] s.add_development_dependency 'mongo_mapper', ['>= 0.9'] s.add_development_dependency 'dm-core', ['>= 1.1.0']