Skip to content

Commit

Permalink
[CI] fail if not possible to install python3 (elastic#19164)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 16, 2020
1 parent 4568ce9 commit a3f0537
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .ci/scripts/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ IF ERRORLEVEL 1 (
FOR /f "tokens=*" %%i IN ('"gvm.exe" use %GO_VERSION% --format=batch') DO %%i

go install github.com/elastic/beats/vendor/github.com/magefile/mage
mage -version
where mage

if not exist C:\Python38\python.exe (
REM Install python 3.8.
choco install python -y -r --no-progress --version 3.8.2 || echo ERROR && exit /b
)
python --version
where python

0 comments on commit a3f0537

Please sign in to comment.