]> git.dujemihanovic.xyz Git - u-boot.git/commit
gitlab/travis: Rework how and when we use virtualenv in order to use python3
authorTom Rini <trini@konsulko.com>
Thu, 24 Oct 2019 15:59:27 +0000 (11:59 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Oct 2019 21:48:47 +0000 (17:48 -0400)
commit085b8978b997a1a901a98926ddbe16459aa6a746
tree68a0cc1b668652e6fbf2c603301e475205165ef0
parentddaa8bed3dea59201392e9f516a9f2dbb12654d9
gitlab/travis: Rework how and when we use virtualenv in order to use python3

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org> [on sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
.gitlab-ci.yml
.travis.yml