From d62e5b51da4b5db1135561187df7e9bd5895c191 Mon Sep 17 00:00:00 2001 From: pokamest Date: Tue, 19 Jan 2021 01:44:17 +0300 Subject: [PATCH] travis fix --- .travis.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index db324cf0..1c643f9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,19 +9,25 @@ jobs: include: - name: Windows os: windows - + + env: + - PATH=/c/Python37:/c/Python38/Scripts:$PATH + + before_install: + - choco install python --version 3.8.5 + - pip3 install --upgrade --user pip + script: - - bash --version - dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build" - dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools" - | if [ ! -f /C/Qt/5.14.2/msvc2017/bin/qmake ]; then \ choco install python3 && \ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ - bash -c "python get-pip.py" && \ - bash -c "pip install aqtinstall requests py7zr" && \ - bash -c "python -m aqt install --outputdir /C/Qt 5.14.2 windows desktop win32_msvc2017 -m qtbase" && \ - bash -c "python -m aqt tool --outputdir /C/Qt windows tools_ifw 4.0.1 qt.tools.ifw.40"; \ + python get-pip.py && \ + pip install aqtinstall requests py7zr && \ + python -m aqt install --outputdir /C/Qt 5.14.2 windows desktop win32_msvc2017 -m qtbase && \ + python -m aqt tool --outputdir /C/Qt windows tools_ifw 4.0.1 qt.tools.ifw.40; \ fi - echo 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat"' > winbuild.bat - echo -e "\r\n" >> winbuild.bat