language: ruby
rvm:
  - 2.1.2
services:
  - mysql
branches:
  only:
    - master
notifications:
  email:
    on_success: change
    on_failure: change
before_install:
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
before_script:
  - cp config/database.yml.example config/database.yml
  - cp config/application.yml.example config/application.yml
  - cp config/secrets.yml.example config/secrets.yml
  - RAILS_ENV=test bundle exec rake db:create --trace
  - RAILS_ENV=test bundle exec rake db:migrate --trace
script:
  - 'bundle exec rspec --color --format documentation'

language: ruby
rvm:
  - 2.1.2
services:
  - mysql
branches:
  only:
    - master
notifications:
  email:
    on_success: change
    on_failure: change
before_install:
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
before_script:
  - RAILS_ENV=test bundle exec rake dev:bootstrap --trace
script:
  - 'bundle exec rspec --color --format documentation'

Use dev:bootstrap in Travis CI
Use dev:bootstrap in Travis CI
