From 8f7aae6a6ef37957a33c72c4faef8a74b851aa70 Mon Sep 17 00:00:00 2001 From: banyan Date: Thu, 12 Jan 2012 01:13:11 +0900 Subject: [PATCH] modify travis settings --- .travis.yml | 2 +- config/database.yml.sample | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 117ea62..2b6ce82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ before_script: - "cp config/oauth.yml.sample config/oauth.yml" - "cp config/redis.yml.sample config/redis.yml" - "cp config/initializers/resque_auth.rb.sample config/initializers/resque_auth.rb" -script: "RAILS_ENV=test bundle exec rake spec" +script: "RAILS_ENV=test bundle exec rake db:drop db:create db:migrate spec" rvm: - 1.9.2 - 1.9.3 diff --git a/config/database.yml.sample b/config/database.yml.sample index 32d44c5..d6d19be 100644 --- a/config/database.yml.sample +++ b/config/database.yml.sample @@ -27,9 +27,10 @@ test: reconnect: false database: vimpusher_test pool: 5 - username: root + username: password: socket: /tmp/mysql.sock + host: 127.0.0.1 production: adapter: mysql2