From ff51afbf348ef8135af3adcdb894815bbb0f4806 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Sun, 26 Apr 2020 14:09:09 +0200 Subject: [PATCH] Travis: Windows: install Python 3 and run generate_psa_constants.py Travis Windows machines currently don't have Python 3 preinstalled. We need it to run scripts/generate_psa_constants.py which is needed to build mbedTLS.sln. Signed-off-by: Gilles Peskine --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index ac997b097..777212e41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,12 @@ jobs: - name: Windows os: windows + before_install: + - choco install python3 script: + - export + - PATH=$PATH:'C:\ProgramData\chocolatey\bin' + - python3 scripts/generate_psa_constants.py - scripts/windows_msbuild.bat v141 # Visual Studio 2017 after_failure: