change travis artifacts to only be installed when needed