def prepare_to_run():
 (is_travis, non_pr) = check_environment()
 if (not is_travis):
  return
 if (not non_pr):
  print('Running in Travis during non-merge to master, doing nothing.')
  sys.exit(0)
 decrypt_keyfile()

def prepare_to_run ( ) : ( is_travis , non_pr ) = check_environment ( ) if ( not is_travis ) : return if ( not non_pr ) : print ( 'Running in Travis during non-merge to master, doing nothing.' ) sys . exit ( 0 ) decrypt_keyfile ( )
prepare to run system tests .