projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e1443
)
travis: autodetect python version instead of hard-coding it
author
Eric Engestrom
<eric.engestrom@intel.com>
Sat, 21 Dec 2019 19:28:07 +0000
(19:28 +0000)
committer
Eric Engestrom
<eric.engestrom@intel.com>
Sat, 21 Dec 2019 20:23:08 +0000
(20:23 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.travis.yml
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index 6528b104667353acf3f90aa7f3963e6f3cbaae16..ab8e67e74bdbbd4ab0c740ec6851a69ea068fb9d 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-26,7
+26,8
@@
before_install:
fi
# Set PATH for homebrew pip3 installs
- - PATH="$HOME/Library/Python/3.6/bin:${PATH}"
+ - PYTHON_VERSION=$(python3 -V | awk '{print $2}' | cut -d. -f1-2)
+ - PATH="$HOME/Library/Python/$PYTHON_VERSION/bin:${PATH}"
# Set PKG_CONFIG_PATH for keg-only expat
- PKG_CONFIG_PATH="/usr/local/opt/expat/lib/pkgconfig:${PKG_CONFIG_PATH}"
# Set PATH for keg-only gettext