language: ruby
sudo: false
cache: bundler
rvm:
  - 2.2.5
notifications:
  email: false
install:
  - bundle install
  - npm install bower
  - npm install
  - bundle exec bower update

language: ruby
sudo: false
cache: bundler
rvm:
  - 2.2.5
notifications:
  email: false
install:
  - bundle install
  - npm install -g bower
  - npm install
  - bower update

Install bower globally on Travis
Install bower globally on Travis

Travis changed the way of using $PATH so in order to work it is required
to install bower globaly so the bower command become available to the
shell.
And do not use bundle exec for running bower commands since bower is not
attached to bundler.
