chore(travis): don't run Travis-CI builds for G3 branches

Building the G3 commits occupies a lot of time, and these branches have
already been tested.

Closes #6328