Another attempt to get TravisCI to build for Windows
This commit is contained in:
+9
-2
@@ -40,16 +40,23 @@ matrix:
|
|||||||
# - macdeployqt Release/SavvyCAN.app -dmg
|
# - macdeployqt Release/SavvyCAN.app -dmg
|
||||||
- os: windows
|
- os: windows
|
||||||
before_install:
|
before_install:
|
||||||
- cmd.exe /C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\Vcvars64.bat'
|
- cmd.exe /C 'cd && "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
|
||||||
- curl -vLO http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
|
- curl -vLO http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe
|
||||||
- "./qt-unified-windows-x86-online.exe --verbose --script qt-installer-windows.qs"
|
- "./qt-unified-windows-x86-online.exe --verbose --script qt-installer-windows.qs"
|
||||||
- ls -la C:/Qt/5.12.3/msvc2017/bin/qtenv2.bat
|
|
||||||
script:
|
script:
|
||||||
- cmd.exe /C 'C:\Qt\5.12.3\msvc2017\bin\qtenv2.bat'
|
- cmd.exe /C 'C:\Qt\5.12.3\msvc2017\bin\qtenv2.bat'
|
||||||
- cmd.exe /C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\Vcvars64.bat'
|
- cmd.exe /C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\Vcvars64.bat'
|
||||||
- "qmake CONFIG+=RELEASE SavvyCAN.pro"
|
- "qmake CONFIG+=RELEASE SavvyCAN.pro"
|
||||||
- nmake
|
- nmake
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cmd.exe /C '"C:\Qt\5.12.3\msvc2017_64\bin\qtenv2.bat"'
|
||||||
|
- cmd.exe /C '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
|
||||||
|
- cmd.exe /C '"qmake SavvyCAN.pro"'
|
||||||
|
- cmd.exe /C 'nmake'
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- # Do not build tags that we create when we upload to GitHub Releases
|
- # Do not build tags that we create when we upload to GitHub Releases
|
||||||
|
|||||||
Reference in New Issue
Block a user