diff options
author | Gilles Peskine <Gilles.Peskine@arm.com> | 2020-04-26 14:09:09 +0200 |
---|---|---|
committer | Gilles Peskine <Gilles.Peskine@arm.com> | 2020-04-26 20:54:14 +0200 |
commit | b97a04483724452f59deaca8fe8c07172aa9839b (patch) | |
tree | 4572213bf58cbb7fbbf64f464d050fe966c92092 /.travis.yml | |
parent | 23d249a99eb41b27e9dd7cbc84f6a2904a7998e7 (diff) | |
download | mbedtls-b97a04483724452f59deaca8fe8c07172aa9839b.zip mbedtls-b97a04483724452f59deaca8fe8c07172aa9839b.tar.gz mbedtls-b97a04483724452f59deaca8fe8c07172aa9839b.tar.bz2 |
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 <Gilles.Peskine@arm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index ac997b0..2d59ec9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,16 @@ jobs: - name: Windows os: windows + before_install: + - choco install python --version=3.5.4 + env: + # Add the directory where the Choco package goes + - PATH=/c/Python35:/c/Python35/Scripts:$PATH script: + - type python; python --version + - python scripts/generate_psa_constants.py + # Logs appear out of sequence on Windows. Give time to catch up. + - sleep 5 - scripts/windows_msbuild.bat v141 # Visual Studio 2017 after_failure: |