aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-07-09 14:37:42 +0200
committerRichard Weickelt <richard@weickelt.de>2020-07-14 08:06:20 +0000
commit11ff53d236a9bc852b8c980be556b53bf26490fd (patch)
treec42f0755be74e8f396c9d7f60da1f067867b746f
parent157121fca1aeb3d3d5f330fd40cc1239c155e2bb (diff)
ci: Fix borked Python environment on macOS
It looks like multiple Python3 environments are installed and running pip3 attempts to run a non-existent python3 binary. The recommended workaround is to invoke pip as a python module. Change-Id: I0bf2e47fa11b3c1014706960f5a34a85f64fa166 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Richard Weickelt <richard@weickelt.de>
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index e5a73e9f2..0840ae82c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,6 +94,7 @@ jobs:
- icoutils
- makensis
- protobuf
+ - python3
- p7zip
update: true
env:
@@ -106,7 +107,7 @@ jobs:
before_install:
- ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QT_VERSION} qtbase qtdeclarative qttools qtscript qtscxml
- ./scripts/install-qt.sh -d ${QT_INSTALL_DIR} --version ${QTCREATOR_VERSION} qtcreator
- - pip3 install --user beautifulsoup4 lxml
+ - python3 -m pip install --user beautifulsoup4 lxml
before_script:
- ulimit -c unlimited -S # enable core dumps
script: