Refactor Travis config