Skip to content

Commit

Permalink
try different credential for travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ywen2 committed Jun 28, 2011
1 parent c11c4c8 commit 42f22c4
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
script: "bundle exec rake spec"
script: "cp config/mongoid.yml.travis condif/mongoid.yml; bundle exec rake spec"
rvm:
- 1.9.2
32 changes: 32 additions & 0 deletions config/mongoid.yml.travis
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#Mongoid Configuration
# =====================
#
# Copy this file to config/mongoid.yml and
# modify it accordingly. This file will automatically
# be copied to shared/config on the server when
# `cap deploy:setup` is ran the first time. Be sure
# to place production specific settings there

defaults: &defaults
host: localhost
port: 27017
username: travis
password: travis
# slaves:
# - host: slave1.local
# port: 27018
# - host: slave2.local
# port: 27019

development:
<<: *defaults
database: bilbo_development

test:
<<: *defaults
database: bilbo_test

# set these environment variables on your prod server
production:
<<: *defaults
database: bilbo_production

0 comments on commit 42f22c4

Please sign in to comment.