Skip to content

Commit

Permalink
Printout to ensure Python version is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
leeping committed Nov 3, 2019
1 parent f7a3e32 commit f52b523
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ before_install:
install:

# Create test environment for package
- echo "Calling create_conda_env.py with PYTHON_VER=$PYTHON_VER"
- python devtools/scripts/create_conda_env.py -n=test -p=$PYTHON_VER devtools/conda-envs/test_env.yaml
# Activate the test environment
- conda activate test
Expand Down
2 changes: 2 additions & 0 deletions devtools/scripts/create_conda_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def temp_cd():

args = parser.parse_args()

print("PYTHON VERSION FROM ARGS {}".format(args.python))

# Open the base file
with open(args.conda_file, "r") as handle:
yaml_script = loader(handle.read())
Expand Down

0 comments on commit f52b523

Please sign in to comment.