aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTom Rini2019-07-24 13:14:56 -0400
committerTom Rini2019-07-24 16:26:15 -0400
commit848121746768433c0d0a024ca1301f262b22e540 (patch)
treed9970bda8c4cf828195223fdba7b2d1a739dbb76 /.gitlab-ci.yml
parentf9b65c76b4828efbf8093c6b02bee5af0045b98b (diff)
gitlab-ci: Add pyelftools to the binman testsuite section
We need pyelftools here to run rather than skip some tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2edc3802ad0..b919eaf0c10 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -172,6 +172,9 @@ Run binman and dtoc testsuite:
tags: [ 'all' ]
stage: testsuites
script:
+ - virtualenv /tmp/venv
+ - . /tmp/venv/bin/activate
+ - pip install pyelftools
- export UBOOT_TRAVIS_BUILD_DIR=`cd .. && pwd`/.bm-work/sandbox_spl;
./tools/buildman/buildman -P sandbox_spl &&
export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";