active_model_serializers/.travis.yml
Benjamin Fleischer 09c97de90d Add Style enforcer (via Rubocop)
It will fail the build, but as it is currently,
most of the cops are 'todos'. Great for new contributors.. :)
2015-09-03 20:50:45 -05:00

35 lines
440 B
YAML

language: ruby
sudo: false
cache:
bundler: true
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-2
- ruby-head
install:
- bundle install --retry=3
script:
- bundle exec rake
- bundle exec rake rubocop
env:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- rvm: ruby-head
- env: "RAILS_VERSION=master"
fast_finish: true