forked from gcovr/gcovr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (29 loc) · 990 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# see also: https://packaging.python.org/guides/supporting-windows-using-appveyor/
# select image with MinGW-w64 available
image: Visual Studio 2015
environment:
matrix:
- PYTHONPATH: C:\Python37-x64
# TODO add more Python versions,
# see https://www.appveyor.com/docs/build-environment/#python
global:
PATH: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin;C:\msys64\usr\bin;$(PATH)
CXX: g++-5
CC: gcc-5
GCOV: gcov
MAKE: mingw32-make
install:
- 'set PATH=%PYTHONPATH%;%PYTHONPATH%\Scripts;%PATH%'
- '%MAKE% setup-dev PYTHON=python'
build: off
test_script:
- '%MAKE% test PYTHON=python TEST_OPTS="--cov=gcovr --cov-branch --archive_differences"'
- 'codecov -X gcov search'
on_failure:
- 'appveyor PushArtifact gcovr/tests/diff.zip'
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/5c98eaf2d3e76753369e
on_build_success: false
on_build_failure: true
on_build_status_changed: true