From de7f1e0bc402e067a3551d8d8c67a16117055a0f Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 22 Apr 2021 11:55:48 +0200 Subject: [PATCH] Generate source files before doing builds on Travis On Linux, all.sh takes care of it. On Windows, run make_generated_files.bat. Perl is now required on Windows. Signed-off-by: Gilles Peskine --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b729ec071..542f705694 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ jobs: script: - tests/scripts/all.sh -k 'check_*' - tests/scripts/all.sh -k test_default_out_of_box - - tests/scripts/test-ref-configs.pl + - tests/scripts/all.sh -k test_ref_configs - tests/scripts/all.sh -k build_arm_none_eabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus - name: full configuration @@ -39,11 +39,12 @@ jobs: before_install: - choco install python --version=3.5.4 env: - # Add the directory where the Choco package goes + # Add the directory where the Choco packages go - PATH=/c/Python35:/c/Python35/Scripts:$PATH script: + - type perl; perl --version - type python; python --version - - python scripts/generate_psa_constants.py + - scripts/make_generated_files.bat # Logs appear out of sequence on Windows. Give time to catch up. - sleep 5 - scripts/windows_msbuild.bat v141 # Visual Studio 2017