-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add AppVeyor configuration file for running MSVC tests #19
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19 +/- ##
=======================================
Coverage 99.07% 99.07%
=======================================
Files 6 6
Lines 325 325
=======================================
Hits 322 322
Misses 3 3 Continue to review full report at Codecov.
|
I initially decided to not add AppVeyor config on the repo because it's much easier to tweak the build environment without pushing useless commits, though I'm ok to add it if that simplifies working on forks. Currently I'm testing the following setup:
I really want to keep MSVC 2013 (32 & 64 bit) since it will fail more easily than 2015, however we can use 5.9 LTS instead of 5.10. Not sure if we should test both MSVC 2013 & 21015, neither if we should also test latest Qt version (5.11)? Here is the associated image: Visual Studio 2015
init:
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio "%VSVER%".0\VC\vcvarsall.bat" %ARCH%
environment:
PATH: '%PATH%;%QTDIR%\bin'
matrix:
- QTDIR: C:\Qt\5.6\msvc2013
VSVER: 12
ARCH: x86
- QTDIR: C:\Qt\5.10\msvc2013_64
VSVER: 12
ARCH: x64
install:
- cmd: qmake qtpromise.pro
- cmd: nmake
test_script:
- cmd: nmake check |
Updated the YAML file so it matches your MSVC 2013 multi-arch setup with both Qt LTS versions being tested. I don't think it's too bad using AppVeyor/Travis mainly for testing backward compatibility and look out for problems introduced by new versions in development environments. As you said, there is the burden of manually updating the environment (either yaml or dashboard), so testing the less frequent LTS versions only should keep that stress down a bit. The AppVeyor mappings from |
Thanks @pwuertz
I like that concept but not sure I would like this implemented in the configuration. Could be something interesting to ask in appveyor/ci |
Asking for |
Approved... wow, that was quick :D |
I was looking for a way to modify and test Pull Requests without flooding you with superfluous notifications, so I ended up enabling automated tests for my GitHub clone too. This works out of the box with TravisCI, but since there is no AppVeyor configuration file I had to set up the MSVC tests manually.
This PR is a proposal for defining the automated tests by configuration file within the repository. I set up a new
.appveyor.yml
for testing Qt 5.6 and Qt 5.9 on the default AppVeyor image. The only manual step in enabling tests now is to set the default configuration name to.appveyor.yml
on the AppVeyor settings page.