Skip to content

Commit

Permalink
Add Pyenv back to Travis path
Browse files Browse the repository at this point in the history
Even though we directly pass $PY, later processes expect the 2.7.15 interpreter to be discoverable so Pyenv must be on the path.
  • Loading branch information
Eric-Arellano committed Feb 26, 2019
1 parent 2166efe commit 3bf2d28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build-support/docker/travis_ci_py27_ucs2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV PYTHON_CONFIGURE_OPTS --enable-unicode=ucs2
RUN /usr/bin/scl enable devtoolset-7 -- bash -c '\
${PYENV_ROOT}/bin/pyenv install ${PYTHON_2_VERSION} \
&& ${PYENV_ROOT}/bin/pyenv global ${PYTHON_2_VERSION}'
ENV PATH "${PYENV_ROOT}/shims:${PATH}"
ENV PY "${PYENV_ROOT}/shims/python2.7"

# Setup mount points for the travis ci user & workdir.
Expand Down

0 comments on commit 3bf2d28

Please sign in to comment.