[U-Boot] [PATCHv2 12/13] gitlab/travis: Rework how and when we use virtualenv in order to use python3

Simon Glass sjg at chromium.org
Thu Oct 24 00:59:23 UTC 2019


On Tue, 22 Oct 2019 at 21:20, Tom Rini <trini at konsulko.com> wrote:
>
> As things stand today, we have tools that CI requires where "python"
> must be "python2".  We need to use a virtualenv and pip in order to
> ensure that our pytest tests can be run.  Rework things slightly so
> that:
> - On Travis-CI, we install python-pyelftools for the platforms that
>   require pyelftools to be installed.
> - On GitLab-CI, we move to a newer base image that includes python3-pip
>   and continue to use a virtualenv per job that needs it, for the
>   correct set of packages.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v2:
> - Add Travis-CI support here, and stop calling it a work-around.  This
>   is just the path forward until we have everything using python3 and at
>   that point evaluate what the right changes, if any, are.
> ---
>  .gitlab-ci.yml | 10 ++++------
>  .travis.yml    | 30 +++++++++++++++---------------
>  2 files changed, 19 insertions(+), 21 deletions(-)

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


More information about the U-Boot mailing list