From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

release published: make sure pip installed for python3

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/.travis.yml b/.travis.yml
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,7 @@ addons:
       - qemu-kvm
       - virtinst
       - ubuntu-vm-builder
+      - python3-pip
 before_install:
   # Set up KVM
   - sudo adduser $USER libvirt
diff --git a/.travis/cirp/install.sh b/.travis/cirp/install.sh
--- a/.travis/cirp/install.sh
+++ b/.travis/cirp/install.sh
@@ -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

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/00000000000054411505d3090039%40google.com.

Reply via email to