closes #1

Add a new option branch_env_var to support all CI systems