Skip to content

Commit

Permalink
run coverage on testing directory and AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
svenevs committed Jul 31, 2018
1 parent 6e8d498 commit 89904e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ install:
# doxygen.portable is not updated, use newer doxygen
- choco install doxygen.install
- set PATH=C:\Program Files\doxygen\bin;%PATH%
- "%PYTHON%\\python.exe -m pip install -U pip setuptools tox"
- "%PYTHON%\\python.exe -m pip install -U pip setuptools tox codecov"

build: off

Expand All @@ -18,4 +18,7 @@ test_script:
- easy_install --version
- doxygen --version
# Installs dependencies and runs the tests.
- "%PYTHON%\\Scripts\\tox -e py"
- "%PYTHON%\\Scripts\\tox -e py -- --cov=exhale --cov=testing"

after_test:
- "%PYTHON%\\python.exe -m codecov --name %PYTHON%"
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ matrix:
install: *linux_install
script:
- doxygen --version
- tox -e py -- --cov=exhale
- tox -e py -- --cov=exhale --cov=testing
after_success:
- codecov --name linux_py2.7
####################################################################################
Expand All @@ -46,7 +46,7 @@ matrix:
install: *linux_install
script:
- doxygen --version
- tox -e py -- --cov=exhale
- tox -e py -- --cov=exhale --cov=testing
after_success:
- codecov --name linux_py3.6
####################################################################################
Expand All @@ -65,7 +65,7 @@ matrix:
script:
- doxygen --version
- /usr/local/bin/python2 --version
- /usr/local/bin/python2 -m tox -e py -- --cov=exhale
- /usr/local/bin/python2 -m tox -e py -- --cov=exhale --cov=testing
after_success:
- codecov --name osx_py2.7
####################################################################################
Expand All @@ -82,7 +82,7 @@ matrix:
script:
- doxygen --version
- /usr/local/bin/python3 --version
- /usr/local/bin/python3 -m tox -e py -- --cov=exhale
- /usr/local/bin/python3 -m tox -e py -- --cov=exhale --cov=testing
after_success:
- codecov --name osx_py3.6
####################################################################################
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ python_files = testing/tests/**.py

[coverage:run]
data_file = .coverage
source = exhale
source = exhale/ testing/

0 comments on commit 89904e1

Please sign in to comment.