summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-07-27 11:11:27 -0400
committerTom Rini <trini@konsulko.com>2020-07-27 14:42:09 -0400
commitfc3414212effcdd18a7382ffa9e654441bed30a4 (patch)
tree73cecc11a0f1e7f4db113419d117a98fb626b344 /.travis.yml
parent4e05c167a756cbfb0a51ef09e52c8b5c7c4d6514 (diff)
travis: Install pyelftools via pip
With the migration to python3 for all of our tests, we need to install pyelftools via pip now rather than the system tools as they will otherwise not be present in our virtualenv. Signed-off-by: Tom Rini <trini@konsulko.com> --- Changes in v2: Switch to pip
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 73daf273c5..66ccf5b2ee 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,6 @@ addons:
- build-essential
- libsdl2-dev
- python
- - python-pyelftools
- python3-sphinx
- python3-virtualenv
- python3-pip
@@ -256,6 +255,7 @@ script:
if [[ -n "${TEST_PY_TOOLS}" ]]; then
export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";
export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}";
+ pip install pyelftools &&
./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test &&
./tools/patman/patman test &&
./tools/buildman/buildman -t &&