tweak travis pre-install hooks