travis: move init script to separate file