hererocks/appveyor.yml
Peter Melnichenko 9b095a46d5 Don't report coverage to coveralls.io on Appveyor for PRs
For coverage reporting on Appveyor it's necessary to set
COVERALLS_REPO_TOKEN env variable. For security reasons it's
not available when building pull requests, so don't call 'coveralls'
in that case. To compensate, always run 'coverage report'.
2016-04-30 16:15:55 +03:00

23 lines
402 B
YAML

version: 1.0.{build}
shallow_clone: true
cache:
- downloads
environment:
matrix:
- Python: 35-x64
- Python: 27
build_script:
- PATH %CD%\here\bin;C:\mingw\bin;C:\python%Python%;C:\python%Python%\scripts;%PATH%
- pip install pyflakes pep8 coverage coveralls nose
test_script:
- pyflakes .
- pep8 .
- nosetests
- coverage report
- if not "%COVERALLS_REPO_TOKEN%"=="" coveralls