Fix detached travis error