[U-Boot] [PATCH v2 17/17] RRC: gitlab: Use Python 3 in virtualenv

Simon Glass sjg at chromium.org
Thu Oct 31 13:43:06 UTC 2019


This is a test to see if it removes the error here:

https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/jobs/24304

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b295ac710..acbd1207c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,7 +73,7 @@ build all 64bit ARM platforms:
   tags: [ 'all' ]
   stage: world build
   script:
-    - virtualenv /tmp/venv
+    - virtualenv -p /usr/bin/python3 /tmp/venv
     - . /tmp/venv/bin/activate
     - pip install pyelftools
     - ret=0;
@@ -158,7 +158,7 @@ Run binman, buildman, dtoc and patman testsuites:
     - git config --global user.name "GitLab CI Runner";
       git config --global user.email trini at konsulko.com;
       export USER=gitlab;
-      virtualenv /tmp/venv;
+      virtualenv -p /usr/bin/python3 /tmp/venv;
       . /tmp/venv/bin/activate;
       pip install pyelftools;
       export UBOOT_TRAVIS_BUILD_DIR=/tmp/.bm-work/sandbox_spl;
-- 
2.24.0.rc0.303.g954a862665-goog



More information about the U-Boot mailing list