travis python version skip fix

This commit is contained in:
Peter Šurda 2021-02-14 09:30:40 +01:00
parent 6d19239517
commit 43bf23e4e7
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -163,6 +163,7 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then
ppath=/usr/bin/python$pv
if [ -n "$TRAVIS_PYTHON" ] && [ "$TRAVIS_PYTHON" != "$pv" ]; then
echo "skipping python-$pv due to TRAVIS_PYTHON=$TRAVIS_PYTHON"
continue
fi
#if [ ! -e "$ppath" ]; then
sudo apt -y install "python$pv" "python${pv}-dev"