That can (AFAIK) be accomplished by using multiple Gemfiles and referencing them in the `.travis.yml`. I included the `Gemfile.lock` to keep some of our development environments synchronized.