refactoring the travis yml file