[skip CI] Refactoring travis.