@classmethod
def clean_global_env(cls, content: dict) ->dict:
    """
        Given the content of the Travis CI configuration file,
        we clean the env.global entries.
        """
    to_delete = ['UPDATE_ME_LOCATION', 'ADMIN_LOCATION', 'TRAVIS_REPO_SLUG']
    if 'env' in content and 'global' in content['env']:
        for index, data in enumerate(content['env']['global']):
            for env_var in to_delete:
                if env_var in data:
                    del content['env']['global'][index]
    return content
