active_model_serializers/.travis.yml
Mauro George c7b8c54952 Change default rake task to run test and rubocop
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.
2015-10-01 19:52:14 -03:00

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