language: ruby
rvm:
  - 2.1
  - 2.0
branches:
  only:
    - master
script:
  - bundle exec rspec
notifications:
  email: false

language: ruby
rvm:
  - 2.1
  - 2.0
branches:
  only:
    - master
before_script:
  - RAILS_ENV=test bundle exec rake db:create db:migrate
script:
  - bundle exec rake spec
notifications:
  email: false

Create db before executing spec
Create db before executing spec
