def get_travis_directories(package_list):
 if in_travis_pr():
  pr_against_branch = travis_branch()
  return get_changed_packages('HEAD', pr_against_branch, package_list)
 else:
  return package_list

def get_travis_directories ( package_list ) : if in_travis_pr ( ) : pr_against_branch = travis_branch ( ) return get_changed_packages ( 'HEAD' , pr_against_branch , package_list ) else : return package_list
get list of packages that need to be tested on travis ci .