diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..d978679 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +omit = *tests* diff --git a/.travis.yml b/.travis.yml index 14ed583..725c58d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,11 @@ python: - "3.5" - "pypy" # command to install dependencies -#install: "pip install -r requirements.txt --use-mirrors" +install: + - pip install coveralls + # Need to do this since coverage is broken in travis https://github.com/travis-ci/travis-ci/issues/4866 + - pip install 'coverage<4' # command to run tests -script: nosetests +script: nosetests --with-coverage --cover-package=voluptuous +after_success: + - coveralls \ No newline at end of file