ci: ensure system Python 3.7 is used even if other pythons are available

pull/828/head
matejcik 4 years ago
parent c01d04f26e
commit 8c75c94125

@ -30,7 +30,7 @@ stages:
- deploy - deploy
before_script: before_script:
- command -v pipenv >/dev/null && pipenv sync - command -v pipenv >/dev/null && pipenv sync --python=/usr/bin/python3
.core_job: .core_job:
only: only:

@ -57,6 +57,15 @@ RUN if [ "${FULLDEPS_TESTING}" = "1" ]; then \
cd Python-${PYTHON38VER}${PYTHONSUBVER}/ && ./configure && make && make install ; \ cd Python-${PYTHON38VER}${PYTHONSUBVER}/ && ./configure && make && make install ; \
fi fi
# remove symlinks to newly installed pythons
RUN cd /usr/local/bin; \
rm -f 2to3; \
rm -f python3; \
rm -f python3-config; \
rm -f pydoc3; \
rm -f pip3; \
rm -f pyvenv;
# install dependencies from toolchain source build # install dependencies from toolchain source build
RUN if [ "${TOOLCHAIN_FLAVOR}" = "src" ]; then \ RUN if [ "${TOOLCHAIN_FLAVOR}" = "src" ]; then \

Loading…
Cancel
Save