travis fix

This commit is contained in:
pokamest 2021-01-19 01:44:17 +03:00
parent 96b267b1f7
commit d62e5b51da

View file

@ -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