.travis.yml: Bring over changes from 1.0-alpha branch

These are the changes that @sigmavirus24 did to `.travis.yml` on the
`1.0-alpha` branch in sigmavirus24#287