Restored appveyor support for coverage

This commit is contained in:
Snaipe 2015-09-04 03:58:47 +02:00
parent 41edcfc051
commit 3aaabf1c83

View file

@ -4,6 +4,7 @@ os: Visual Studio 2015
init:
- git config --global core.autocrlf input
- 'SET PATH=C:\Python34-x64;C:\Python34-x64\Scripts;%PATH%'
- 'SET PATH=C:\MinGW\bin;%PATH%;C:\MinGW\msys\1.0\bin;%APPVEYOR_BUILD_FOLDER%\build;%APPVEYOR_BUILD_FOLDER%\build\Debug'
environment:
@ -28,6 +29,7 @@ configuration: Release
install:
- ps: $env:RELEASE_NAME = $env:APPVEYOR_REPO_BRANCH -replace "/", "-"
- pip install codecov
# Hack to make git think it is on the tip of the repo branch
- 'git checkout -B %APPVEYOR_REPO_BRANCH%'
# Configure project
@ -55,6 +57,9 @@ test_script:
- cmake --build . --target criterion_tests
- ps: try { ctest } catch { type Testing/Temporary/LastTest.log }
after_test:
- 'make coveralls_generate'
- codecov
#after_test:
# - 'make coveralls'