Skip to content

Commit

Permalink
Created .coveragerc and codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrocoan committed Aug 24, 2018
1 parent 78188eb commit b065eb1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[run]
omit =
*/home/travis/virtualenv/*
*/watchdog/*
*/enum/*
*/install_main_menu.py
24 changes: 12 additions & 12 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ environment:

# https://www.appveyor.com/docs/appveyor-yml/
install:
- ps: $env:PYTHON="C:\\Python33"
- ps: $env:PATH="$env:PYTHON;$env:PYTHON\\Scripts;$env:PATH"
- ps: $env:PYTHON="C:\Python33"
- ps: $env:PATH="$env:PYTHON;$env:PYTHON\Scripts;$env:PATH"
- echo %PATH%
- python --version
- dir
- ps: appveyor DownloadFile "https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/appveyor.ps1"
- ps: .\appveyor.ps1 "bootstrap" -verbose
- ps: python -m pip install --upgrade pip
- ps: pip install coverage codacy-coverage
- ps: python --version
- ps: echo $env:PATH


on_finish:
- ps: .\appveyor.ps1 "install_package_control" -verbose
- ps: .\appveyor.ps1 "run_tests" -coverage -verbose
- ps: pip install codecov
- ps: python --version
- ps: echo $env:PATH
- ps: codecov
- ps: coverage xml -o coverage.xml
- ps: python-codacy-coverage
# Cannot install codecov! Command executed with exception: DEPRECATION: Python 3.3 supported has
# been deprecated and support for it will be dropped in the future. Please upgrade your Python.
# - ps: pip install coverage codacy-coverage
# - ps: pip install codecov 2> $null
# - ps: codecov
# - ps: coverage xml -o coverage.xml
# - ps: python-codacy-coverage

11 changes: 11 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

coverage:

status:

project:

default:
target: null
threshold: 2%

0 comments on commit b065eb1

Please sign in to comment.