#23 from travis-infrastructure/sol-rvm-ya…
master Merge pull requestRefactor to use functions and be more efficient on repeated runs.
Join over 500,000 developers testing and building on Travis CI
Refactor to use functions and be more efficient on repeated runs.