language: ruby
cache: bundler
bundler_args: --without development
rvm:
  - 2.1.0
  - 1.9.3
  # - jruby-19mode # chokes on sqlite
addons:
  code_climate:
    repo_token: 81415560c1749c5115942949800802e1146a4654402f7a9d739dac8f9d4b0b30
script:
  - bundle exec rubocop
  - bundle exec rake spec

language: ruby
cache: bundler
bundler_args: --without development
rvm:
  - 2.1.0
  - 1.9.3
  # - jruby-19mode # chokes on sqlite
addons:
  code_climate:
    repo_token: 81415560c1749c5115942949800802e1146a4654402f7a9d739dac8f9d4b0b30
script:
  - bundle exec rake spec
  - bundle exec rubocop

Switch order of specs and rubocop
Switch order of specs and rubocop

On pull requests, I can fix style issues more easily than spec failures, so
it's better to not shadow the tests.
