Travis: rework script

Signed-off-by: Joel Stanley <joel@jms.id.au>