Skip to content

Commit

Permalink
Try codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
lasote committed Dec 19, 2016
1 parent d15a9c8 commit 840fa96
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/travis/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
pyenv activate conan
fi

nosetests
nosetests --with-coverage
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[run]
omit =
*/python?.?/*
*/lib-python/?.?/*.py
*/lib_pypy/_*.py
*/site-packages/ordereddict.py
*/site-packages/nose/*
*/unittest2/*
*conanfile.py*
*bottle*
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ matrix:
- language: generic
os: osx
env: PYVER=py35 CONAN_COMPILER=apple-clang CONAN_COMPILER_VERSION=6.0

# Coverages
- language: generic
os: osx
env: PYVER=py27 CONAN_COMPILER=apple-clang CONAN_COMPILER_VERSION=6.0 COVERAGE=true

# command to install dependencies
install:
Expand All @@ -38,3 +43,6 @@ before_script:
# command to run tests
script:
- ./.ci/travis/run.sh

after_success:
- bash <(curl -s https://codecov.io/bash)
6 changes: 5 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ install:
- "%PYTHON%/Scripts/pip.exe install -r conans/requirements_server.txt"

test_script:
- "%PYTHON%/Scripts/nosetests"
- "%PYTHON%/Scripts/nosetests --with-coverage"

after_test:
- bash <(ls)
- bash <(curl -s https://codecov.io/bash)
3 changes: 2 additions & 1 deletion conans/requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
nose>=1.3.7, <1.4.0
nose_parameterized>=0.5.0, <0.6.0
mock>=1.3.0, <1.4.0
WebTest>=2.0.18, <2.1.0
WebTest>=2.0.18, <2.1.0
codecov

0 comments on commit 840fa96

Please sign in to comment.