[REF] travis_run.py: Add get_env_to_export method