forked from gcovr/gcovr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (38 loc) · 1.23 KB
/
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
39
40
41
42
43
44
45
46
47
# 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:\Python27
- PYTHONPATH: C:\Python36-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++
CC: gcc
GCOV: gcov
MAKE: mingw32-make
CMAKE: cmake -G "MSYS Makefiles"
install:
# verify compiler version
- 'set PATH=%PYTHONPATH%;%PYTHONPATH%\Scripts;%PATH%'
- 'python -V'
- '%CXX% --version'
- 'python -m pip install pytest pytest-cov'
- 'python -m pip install ply'
- 'python -m pip install ordereddict'
- 'python -m pip install pyutilib'
- 'python -m pip install coverage'
- 'python -m pip install codecov'
- 'python setup.py develop'
build: off
test_script:
- 'python -m pytest -v --cov=gcovr --cov-branch gcovr doc/examples'
- 'codecov -X gcov search'
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/5c98eaf2d3e76753369e
on_build_success: false
on_build_failure: true
on_build_status_changed: true