backport .travis.yml with tweaks