language: ruby
rvm:
  - 1.9.3
  - 2.1.2
  - 2.2.3
  - 2.3.0

env:
  - "RAILS_VERSION=3.2.0"
  - "RAILS_VERSION=4.1.4"
  - "RAILS_VERSION=4.2.5"
  - "RAILS_VERSION=master"

after_script:
  - rubocop app lib

matrix:
  allow_failures:
    - env: "RAILS_VERSION=master"

language: ruby
rvm:
  - 1.9.3
  - 2.1.2
  - 2.2.3
  - 2.3.0

env:
  - "RAILS_VERSION=3.2.0"
  - "RAILS_VERSION=4.1.4"
  - "RAILS_VERSION=4.2.5"
  - "RAILS_VERSION=master"

script:
  - bundle exec rake test
  - rubocop app lib --fail-level R

matrix:
  allow_failures:
    - env: "RAILS_VERSION=master"

Update Travis to force fail with Rubocop offenses
Update Travis to force fail with Rubocop offenses
