Use {after_install, before_script} in travis config