Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add travis-ci configuration

  • Loading branch information...
commit 0f2289c24587dd6357a90ba23b2ec2280d328581 1 parent 7900c34
@jmorton jmorton authored
Showing with 13 additions and 3 deletions.
  1. +7 −0 .travis.yml
  2. +4 −0 Gemfile
  3. +2 −3 config/database.yml
View
7 .travis.yml
@@ -0,0 +1,7 @@
+language: ruby
+rvm:
+ - 1.9.3
+env:
+ - DB=sqlite3
+before_script:
+ - "bundle exec rake db:migrate"
View
4 Gemfile
@@ -19,4 +19,8 @@ group :production do
gem 'pg'
end
+group :test do
+ gem "sqlite3", :platform => [:ruby, :mswin, :mingw]
+end
+
gem 'jquery-rails'
View
5 config/database.yml
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.