Skip to content
Permalink
Browse files

Add Pyenv back to Travis path

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 3bf2d2855f2a0fecdbcdfa175855935022282e34
Showing with 1 addition and 0 deletions.
  1. +1 −0 build-support/docker/travis_ci_py27_ucs2/Dockerfile
@@ -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.

0 comments on commit 3bf2d28

Please sign in to comment.
You can’t perform that action at this time.