diff --git a/.gitignore b/.gitignore index 6590129..d4798c3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # Ignore bundler config. /.bundle +/vendor/bundle # Ignore SimpleCov directory. /coverage diff --git a/.rubocop.yml b/.rubocop.yml index 240003b..e84521e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,6 +6,7 @@ AllCops: - 'bin/*' - 'db/schema.rb' - 'db/seeds.rb' + - 'vendor/bundle/**/*' # Avoid long parameter lists ParameterLists: diff --git a/.travis.yml b/.travis.yml index ab1fa9b..80cb7c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ --- -before_install: gem update bundler before_script: bundle exec rake db:create db:schema:load +bundler_args: --without assets:development:production +cache: bundler script: - bundle exec rake - bundle exec rubocop --rails --fail-level=refactor -bundler_args: --without assets:development:production language: ruby rvm: - 2.1.2