SHIMADA Koji
null+****@clear*****
Mon Oct 1 20:55:01 JST 2012
SHIMADA Koji 2012-10-01 20:55:01 +0900 (Mon, 01 Oct 2012) New Revision: f7766dd60d1cb69376e8c0158c3c37862a644315 https://github.com/logaling/logaling-server/commit/f7766dd60d1cb69376e8c0158c3c37862a644315 Log: travis-ci: set database.yml before running test Modified files: .travis.yml config/database.yml.example Modified: .travis.yml (+4 -1) =================================================================== --- .travis.yml 2012-10-01 20:42:56 +0900 (0472a0e) +++ .travis.yml 2012-10-01 20:55:01 +0900 (6cf269b) @@ -7,6 +7,9 @@ language: ruby rvm: - 1.9.3 bundler_args: "--without development:production" -before_script: "RAILS_ENV=test bundle exec rake db:create db:migrate --trace" +before_script: + - cp config/database.yml.example config/database.yml + - export RAILS_ENV=test + - bundle exec rake db:create db:migrate --trace before_install: - curl https://raw.github.com/groonga/groonga/master/data/travis/setup.sh | sh Modified: config/database.yml.example (+1 -1) =================================================================== --- config/database.yml.example 2012-10-01 20:42:56 +0900 (0457401) +++ config/database.yml.example 2012-10-01 20:55:01 +0900 (088aaaa) @@ -44,7 +44,7 @@ test: encoding: unicode database: logaling_server_test pool: 5 - username: logaling + username: postgres password: min_messages: WARNING -------------- next part -------------- An HTML attachment was scrubbed... ダウンロード