Skip to content

Commit

Permalink
Don't install unnecessary development gems for Travis build (ruby-deb…
Browse files Browse the repository at this point in the history
…ug, annotate, simplecov, etc.)
  • Loading branch information
ndbroadbent committed Jan 5, 2012
1 parent 33ce46d commit c945c5f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ branches:
- master

gemfile: Gemfile.ci
bundler_args: --path=vendor/bundle --without heroku
bundler_args: --path=vendor/bundle --without heroku development

before_install: gem install bundler --pre

Expand Down
20 changes: 11 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ gem 'paperclip', '~> 2.4.5'
gem 'will_paginate', '~> 3.0.2'
gem 'acts_as_list', '~> 0.1.4'
gem 'simple_form', '~> 1.5.2'
gem 'ffaker', '~> 1.11.0' # For demo data
gem 'ffaker', '~> 1.11.0' # For loading demo data
gem 'uglifier'

group :heroku do
gem 'unicorn', :platform => :ruby
end

# Gems used only for assets and not required
# in production environments by default.
group :assets do
Expand All @@ -29,9 +33,11 @@ group :assets do
end

group :development, :test do
gem 'ruby-debug', :platform => :mri_18
gem 'ruby-debug19', :platform => :mri_19, :require => 'ruby-debug' if RUBY_VERSION == "1.9.2"
gem 'awesome_print'
unless ENV["CI"]
gem 'ruby-debug', :platform => :mri_18
gem 'ruby-debug19', :platform => :mri_19, :require => 'ruby-debug' if RUBY_VERSION == "1.9.2"
gem 'awesome_print'
end

gem 'test-unit', '~> 2.4.3', :platform => :mri_19, :require => false
gem 'rspec-rails', '~> 2.8.0'
Expand All @@ -40,14 +46,10 @@ end

group :test do
gem 'factory_girl_rails', '~> 1.4.0'
gem 'simplecov', :platform => :mri_19
gem 'simplecov', :platform => :mri_19 unless ENV["CI"] # Until Travis supports build artifacts
gem 'fuubar'
end

group :heroku do
gem 'unicorn', :platform => :ruby
end

# For annotating models with Schema information
gem 'annotate', '~> 2.4.1.beta', :require => false, :group => :development

Expand Down

0 comments on commit c945c5f

Please sign in to comment.