Travis: merge install commands

WIP: not sure about the yaml syntax yet

Partial fix for #1636