Skip to content

Commit

Permalink
Setup application.yml for travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lgn21st committed Mar 6, 2014
1 parent 3ffaf69 commit bc9b45a
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .travis.application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
defaults: &defaults

# sites hosts
# session expire seconds
# admin role account
URL_HOST: peatio.dev
URL_SCHEMA: http
DEFAULT_MARKET: cnybtc
SESSION_EXPIRE: 120
API_WHITELIST: []
ADMIN: 'admin@peatio.dev,admin@example.com'

# below settings only in production env
# system notify mail settings
# recaptcha settings
# --------------------------------------------------------------
# in exchange some operation need validate operator is not bot.
# peatio use RECAPTCHA validate this
# so you need apply a new key or use we support development key
# uncomment below line only development or test
SMTP_DOMAIN: YOUR_SMTP_DOMAIN
SMTP_ADDRESS: YOUR_SMTP_ADDRESS
SMTP_USERNAME: YOUR_SMTP_USERNAME
SMTP_PASSWORD: YOUR_SMTP_PASSWORD

SYSTEM_MAIL_FROM: system@peatio.dev
SYSTEM_MAIL_TO: group@peatio.dev

# recaptcha settings
# --------------------------------------------------------------
# in exchange some operation need validate operator is not bot.
# peatio use RECAPTCHA validate this
# so you need apply a new key or use we support development key
# uncomment below line only development or test
#
RECAPTCHA_PUBLIC_KEY: 6LfxHegSAAAAAOD6mQ1PFvXgBApsHl_oO_y9EtI9
RECAPTCHA_PRIVATE_KEY: 6LfxHegSAAAAAH4M8CuhJJoH8VGYswg2HI_xY5N1

# RECAPTCHA_PUBLIC_KEY: YOUR_RECAPTCHA_PUBLIC_KEY
# RECAPTCHA_PRIVATE_KEY: YOUR_RECAPTCHA_PRIVATE_KEY

# pusher settings
# --------------------------------------------------------------
# peatio dependence Pusher (http://pusher.com) service
# you can change your key for production environment.
# we support development key and secret
# uncomment below line only development or test
#
PUSHER_APP: 65910
PUSHER_KEY: 50d404c35db92d736a57
PUSHER_SECRET: 75d6e6685209cc60cc4d

# PUSHER_APP: YOUR_PUSHER_APP
# PUSHER_KEY: YOUR_PUSHER_KEY
# PUSHER_SECRET: YOUR_PUSHER_SECRET

development:
<<: *defaults

test:
<<: *defaults

production:
<<: *defaults
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ before_install:
before_script:
- "mysql -e 'create database peatio_test;'"
- "cp ./.travis.database.yml ./config/database.yml"
- "cp ./.travis.application.yml ./config/application.yml"
script:
- bundle exec rake db:schema:load
- bundle exec rake db:test:prepare
Expand Down

0 comments on commit bc9b45a

Please sign in to comment.