Simplified Travis CI & RVM
Last time I showed you one possibility of replacing bundler with rvm.
Today I want to improve on the hacky
.load_gemset file, by simply putting it
It was irritating me to have such a roundabout way of loading rvm, and after studying the way the configuration is being handled a bit more, this seemed so obvious I can't believe I missed it before.
--- script: RUBYOPT=-rubygems rake bacon before_script: - test -s "$HOME/.rvm/scripts/rvm" && source "$HOME/.rvm/scripts/rvm" - test -s .gems && rvm gemset import .gems rvm: - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head - rbx-18mode - rbx-19mode - ree - jruby notifications: email: - email@example.com branches: only: - master
Yeah, that's all, happy Continuous Integration.