before_install: gem install bundler --pre
before_script: bundle exec rake db:create db:schema:load
bundler_args: --without assets:development:production
language: ruby
rvm:
  - 1.9.3

---
before_install: gem install bundler --pre
before_script: bundle exec rake db:create db:schema:load
bundler_args: --without assets:development:production
language: ruby
rvm:
- 1.9.3
deploy:
  api_key:
    secure: "q1sCaofDYIfYNgiqTjR1awMsfmy3mleYRPzLvksJMfQF3iY3mfntXu98exuv1vHK+qoQWyXLhLjhRhpfxVJ+QULltvFavrhv35WEDzGRnDDn2saVaOhOFaJ+Izgq3Dw8vFrN7Y6zhGkMa7QY48D+Ux29kvQ4j7TV3A8lijsusOk="
  on:
    rvm: 1.9.3
  provider: heroku
  run: "rake db:migrate"

Add continuous deployment to Heroku
Add continuous deployment to Heroku

http://about.travis-ci.org/blog/2013-07-09-introducing-continuous-deployment-to-heroku/
