Skip to content

Commit 112e427

Browse files
authored
Document need for pyenv installation subshell in .travis.yml
1 parent 17188dd commit 112e427

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ before_install:
6767
install:
6868
- |
6969
(
70+
# Usage of a subshell is intentional to avoid the PYENV_ROOT living
71+
# on. Travis uses their own PYENV_ROOT and changing that causes
72+
# tox trouble finding the Python to be used for testing.
7073
if [[ ! -f ${TOXTOOLPYTHON} ]]; then
7174
export PYENV_ROOT="${DESERT_PYENV_ROOT}"
7275
rm -rf "${PYENV_ROOT}"

0 commit comments

Comments
 (0)