mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +00:00
The rubocop only runs in the CI this way a contributor probably will see a rubocop offense only in the CI. Running the rubocop in the default rake task we have more chance that a offense be get in the local machine.
36 lines
538 B
YAML
36 lines
538 B
YAML
language: ruby
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
bundler: true
|
|
|
|
rvm:
|
|
- 1.9.3
|
|
- 2.0.0
|
|
- 2.1
|
|
- 2.2
|
|
- ruby-head
|
|
- rbx-2
|
|
|
|
install:
|
|
- bundle install --retry=3
|
|
|
|
script:
|
|
- env CAPTURE_STDERR=false bundle exec rake
|
|
|
|
env:
|
|
- "RAILS_VERSION=4.0"
|
|
- "RAILS_VERSION=4.1"
|
|
- "RAILS_VERSION=4.2"
|
|
- "RAILS_VERSION=master"
|
|
|
|
matrix:
|
|
include:
|
|
- rvm: jruby-19mode
|
|
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false -Xcli.debug=true --debug'
|
|
allow_failures:
|
|
- rvm: ruby-head
|
|
- env: "RAILS_VERSION=master"
|
|
fast_finish: true
|