Re-add python install of requirements to Travis CI.
Also correct 'distro to 'dist' and update ubuntu to jammy and python
to 3.10 to hopefully fend off future issues. Too much got removed
when disabling travis and the Coverity scan build was failing on 'make
generated-files', due to lack of installed python dependencies
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/.travis.yml b/.travis.yml
index 6049b22..3b4132e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,9 @@
-distro: xenial
+# Declare python as our language. This way we get our chosen Python version,
+# and pip is available. Gcc and clang are available anyway.
+dist: jammy
os: linux
-language: c
-compiler: gcc
+language: python
+python: 3.10
cache: ccache
@@ -9,6 +11,9 @@
only:
coverity_scan
+install:
+ - $PYTHON scripts/min_requirements.py
+
env:
global:
- SEED=1