Basic .travis.yml

.travis.yml

language: ruby
rvm:
- 2.2.2
gemfile:
- Gemfile
env:
- DB=mysql
services:
- redis-server
before_script:
- RAILS_ENV=test bundle exec rake db:create
- RAILS_ENV=test bundle exec rake db:migrate
script:
- RAILS_ENV=test bundle exec rspec
- bundle exec rake rubocop:rubocop
- bundle exec rails_best_practices
notifications:
  email:
    - one@example.com
    - other@example.com