language: ruby

cache:
  bundler: true
  directories:
    - vendor/assets/bower

rvm:
  - 2.2.3
  - 2.0.0

bundler_args: --jobs=3 --retry=3

before_script:
  - npm install -g bower
  - bower install

script:
  - rubocop -S -E
  - bundle exec middleman build --verbose

language: ruby

cache:
  bundler: true
  directories:
    - vendor/assets/bower

rvm:
  - 2.2.3
  - 2.0.0

bundler_args: --jobs=3 --retry=3

before_script:
  - npm install -g bower
  - bower install

script:
  - bundle exec rubocop -S -E
  - bundle exec middleman build --verbose

Use bundle exec to execute rubocop otherwise Travis gets code 127
Use bundle exec to execute rubocop otherwise Travis gets code 127
