]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
azure/gitLab/travis: Add pygit2 as a dependency for tests
authorSimon Glass <sjg@chromium.org>
Fri, 30 Oct 2020 03:46:11 +0000 (21:46 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:31 +0000 (09:11 -0700)
This lets patman run all of its tests, rather than skipping quite a few.

Signed-off-by: Simon Glass <sjg@chromium.org>
.azure-pipelines.yml
.gitlab-ci.yml
.travis.yml

index a78c8d61300f3d8b927f435dac578df2c98be329..620696c22e03948e83c357004930b1f5ef62f8bc 100644 (file)
@@ -140,7 +140,7 @@ jobs:
           export USER=azure
           virtualenv -p /usr/bin/python3 /tmp/venv
           . /tmp/venv/bin/activate
-          pip install pyelftools pytest
+          pip install pyelftools pytest pygit2
           export UBOOT_TRAVIS_BUILD_DIR=/tmp/sandbox_spl
           export PYTHONPATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt
           export PATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}
index b1e0b3bc9dd7847665106a83b65b9c3563390d4c..4b0680887b5644e0cf550861391ffcab220aad3b 100644 (file)
@@ -161,7 +161,7 @@ Run binman, buildman, dtoc, Kconfig and patman testsuites:
       export USER=gitlab;
       virtualenv -p /usr/bin/python3 /tmp/venv;
       . /tmp/venv/bin/activate;
-      pip install pyelftools pytest;
+      pip install pyelftools pytest pygit2;
       export UBOOT_TRAVIS_BUILD_DIR=/tmp/sandbox_spl;
       export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt";
       export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}";
index cb48ff3023a531259df3ac4fc1205a92d282ed37..69829fcfa0200a2a5d38cc333334bbc7b70a07e5 100644 (file)
@@ -26,6 +26,7 @@ addons:
     - python3-sphinx
     - python3-virtualenv
     - python3-pip
+    - python3-pygit2
     - swig
     - libpython-dev
     - iasl