From 13481f0439299d16a7cf5b7dfa4e31df886992e4 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Sat, 23 Sep 2023 20:39:02 +0100 Subject: [PATCH] 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 --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6049b22ad..3b4132e05 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 @@ branches: only: coverity_scan +install: + - $PYTHON scripts/min_requirements.py + env: global: - SEED=1