Permalink
Browse files

add travis-ci configuration

  • Loading branch information...
1 parent 648e9a1 commit 318619e7c67a5c69308adea2e52768f5ccc74692 @jmorton jmorton committed Mar 24, 2012
Showing with 13 additions and 3 deletions.
  1. +7 −0 .travis.yml
  2. +4 −0 Gemfile
  3. +2 −3 config/database.yml
View
@@ -0,0 +1,7 @@
+language: ruby
+rvm:
+ - 1.9.3
+env:
+ - DB=sqlite3
+before_script:
+ - "bundle exec rake db:migrate"
View
@@ -19,4 +19,8 @@ group :production do
gem 'pg'
end
+group :test do
+ gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
+end
+
gem 'jquery-rails'
View
@@ -14,9 +14,8 @@ development:
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
- database: db/test.sqlite3
- pool: 5
- timeout: 5000
+ database: "db/test.sqlite3"
+ timeout: 500
production:
adapter: postgresql

0 comments on commit 318619e

Please sign in to comment.