[M] Add travis common scripts