travis python version skip fix

pull/1/head
Peter Šurda 2 years ago
parent 6d19239517
commit 43bf23e4e7
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
  1. 1
      travis2bash.sh

@ -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"

Loading…
Cancel
Save