]> git.proxmox.com Git - mirror_ovs.git/commitdiff
travis: Use pip2 instead of pip for OSX build.
authorIlya Maximets <i.maximets@samsung.com>
Fri, 8 Dec 2017 12:53:10 +0000 (15:53 +0300)
committerAlin Gabriel Serdean <aserdean@ovn.org>
Tue, 12 Dec 2017 00:01:46 +0000 (02:01 +0200)
xcode8.3 is a new default image for OS X on Travis-CI, but
it does not have 'pip':

    pip install --user six
    ./.travis/osx-prepare.sh: line 3: pip: command not found

'pip2' or 'pip3' should be used explicitly instead:

    https://github.com/travis-ci/travis-ci/issues/8829

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
.travis/osx-prepare.sh

index 1f144fb4106699d61f590e70dbe583b5dae88144..4725fd829d7560202b137b2df27b7360f297320a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -ev
-pip install --user six
-pip install --user --upgrade docutils
+pip2 install --user six
+pip2 install --user --upgrade docutils
 
 brew update || true
 brew uninstall libtool && brew install libtool || true