old_contents: """
  @file
  @brief Helpers for CI
  
  .. versionadded:: 1.3
  """
  
  
  def is_travis_or_appveyor():
      """
      tells if is a travis environment or appveyor
  
      @return        ``'travis'``, ``'appveyor'`` or ``None``
  
      The function should rely more on environement variables
      ``CI``, ``TRAVIS``, ``APPVEYOR``.
  
      .. versionadded:: 1.3
      """
      import sys
      if "travis" in sys.executable:
          return "travis"
      import os
      if os.environ.get("USERNAME", os.environ["USER"]) == "appveyor" or \
         os.environ.get("APPVEYOR", "").lower() in ("true", "1"):
          return "appveyor"
      return None
  
new_contents: """
  @file
  @brief Helpers for CI
  
  .. versionadded:: 1.3
  """
  
  
  def is_travis_or_appveyor():
      """
      tells if is a travis environment or appveyor
  
      @return        ``'travis'``, ``'appveyor'`` or ``None``
  
      The function should rely more on environement variables
      ``CI``, ``TRAVIS``, ``APPVEYOR``.
  
      .. versionadded:: 1.3
      """
      import sys
      if "travis" in sys.executable:
          return "travis"
      import os
      if os.environ.get("USERNAME", os.environ.get("USER", None)) == "appveyor" or \
         os.environ.get("APPVEYOR", "").lower() in ("true", "1"):
          return "appveyor"
      return None
  
subject: fix missing key in ci_helper