Skip to content

Commit 33658f4

Browse files
committed
Add rubocop
1 parent 5177edd commit 33658f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ rvm:
88
- 2.3.0
99
before_install:
1010
- rvm @global do gem install bundler
11+
script:
12+
- bundle exec rspec
13+
- bundle exec rubocop

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ group :development, :test do
1515
gem 'rspec', :require => false
1616
gem 'guard-rspec', :require => false
1717
gem 'terminal-notifier-guard', :require => false
18+
gem 'rubocop', :require => false unless RUBY_VERSION =~ /^1.8/
1819

1920
platforms :mri do
2021
gem 'pry', :require => false

0 commit comments

Comments
 (0)