rvm:
  - 1.9.2
  - 1.8.7
before_script:
  - "mysql -e 'create database one_click_test;' > /dev/null"
  - "bundle exec rake oco:generate_config"
branches:
  only:
    - master
notifications:
  recipients:
    - alerts@oneclickorgs.com
  irc: "irc.freenode.net#oneclickorgs"

rvm:
  - 1.9.2
  - 1.8.7
before_script:
  - "mysql -e 'create database one_click_test;' > /dev/null"
  - "bundle exec rake oco:generate_config db:migrate"
branches:
  only:
    - master
notifications:
  recipients:
    - alerts@oneclickorgs.com
  irc: "irc.freenode.net#oneclickorgs"

Add DB migration to setup.
Travis: Add DB migration to setup.
