travis: pip -> pip2
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 1 Feb 2018 15:23:49 +0000 (15:23 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 2 Feb 2018 15:28:52 +0000 (15:28 +0000)
commit4701379d967f8c42fc8cffa0e1c80dc9074bb0d5
tree38a17e706572710bd06a8410dee6926e8239984e
parent7d1ec6d6a92f15a24377738f12e59d80bab96da3
travis: pip -> pip2

On travis, for OSX, python2 from homebrew is pre-installed. per [1]:

 python points to the macOS system Python (with no manual PATH modification)
 python2 points to Homebrew’s Python 2.7.x (if installed)
 python3 points to Homebrew’s Python 3.x (if installed)
 pip doesn't exist
 pip2 points to Homebrew’s Python 2.7.x’s pip (if installed)
 pip3 points to Homebrew’s Python 3.x’s pip (if installed)

We will end up using 'python2' for building mesa.

Just use 'pip2' instead of 'pip', as that seems to work for all platforms on
travis.

[1] https://docs.brew.sh/Homebrew-and-Python.html

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
.travis.yml