aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorJosh Kalderimis <josh.kalderimis@gmail.com>2011-07-15 09:48:10 +0200
committerJosh Kalderimis <josh.kalderimis@gmail.com>2011-07-15 10:47:50 +0200
commitd664eba5b42d5a4cf8acb4f198796c194a662414 (patch)
tree2e24be875b78decf4050c44c21d43238bc93ddb4 /Gemfile
parentf88e9d83f13c7d29120696d7e568fae1efea67f4 (diff)
downloadrails-d664eba5b42d5a4cf8acb4f198796c194a662414.tar.gz
rails-d664eba5b42d5a4cf8acb4f198796c194a662414.tar.bz2
rails-d664eba5b42d5a4cf8acb4f198796c194a662414.zip
Added a .travis.yml config and travis specific ci script.
Don't install ruby-debug if running the test suite on Travis, linecache19 is the main offender, very very slow. And do not install pg if Travis is bundling the gems, pg will be setup on Travis soon.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index e1a8b5637e..a9541b4d1f 100644
--- a/Gemfile
+++ b/Gemfile
@@ -31,13 +31,13 @@ gem "memcache-client", ">= 1.8.5"
platforms :mri_18 do
gem "system_timer"
- gem "ruby-debug", ">= 0.10.3"
+ gem "ruby-debug", ">= 0.10.3" unless ENV['TRAVIS']
gem "json"
end
platforms :mri_19 do
# TODO: Remove the conditional when ruby-debug19 supports Ruby >= 1.9.3
- gem "ruby-debug19", :require => "ruby-debug" if RUBY_VERSION < "1.9.3"
+ gem "ruby-debug19", :require => "ruby-debug" unless RUBY_VERSION > "1.9.2" || ENV['TRAVIS']
end
platforms :ruby do
@@ -56,7 +56,7 @@ platforms :ruby do
gem "sqlite3", "~> 1.3.3"
group :db do
- gem "pg", ">= 0.11.0"
+ gem "pg", ">= 0.11.0" unless ENV['TRAVIS'] # once pg is on travis this can be removed
gem "mysql", ">= 2.8.1"
gem "mysql2", ">= 0.3.6"
end