Refactor .travis.yaml