Cache bower_components and node_modules in Travis CI builds.