Refactored .travis.yml.