[travis] Improve travis script