-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try different credential for travis-ci
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |