Skip to content

Commit

Permalink
release published: make sure pip installed for python3
Browse files Browse the repository at this point in the history
Signed-off-by: Waldemar Kozaczuk <jwkozaczuk@gmail.com>
  • Loading branch information
wkozaczuk committed Dec 13, 2021
1 parent 286cfe0 commit 3a65d16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -17,6 +17,7 @@ addons:
- qemu-kvm
- virtinst
- ubuntu-vm-builder
- python3-pip
before_install:
# Set up KVM
- sudo adduser $USER libvirt
Expand Down
4 changes: 2 additions & 2 deletions .travis/cirp/install.sh
Expand Up @@ -67,10 +67,10 @@ elif [ "$TRAVIS_OS_NAME" == "linux" ]; then
pyenv global $(pyenv versions | grep -o ' 3\.[5-99]\.[1-99]' | tail -n1)
fi

pip install --upgrade pip
python3 -m pip install --upgrade pip

# Don't install again if already installed.
# OSX keeps re-installing it tough, as it uses a temp per-script virtualenv.
if ! pip list --format=columns | grep '^ci-release-publisher '; then
if ! python3 -m pip list --format=columns | grep '^ci-release-publisher '; then
python3 -m pip install https://files.pythonhosted.org/packages/49/20/2631e993daa85b35c8390e8124570b0321825e6a77e566492b4637566983/ci_release_publisher-0.3.0.tar.gz
fi

0 comments on commit 3a65d16

Please sign in to comment.