diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..d09fe9c --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[report] +omit = + */python?.?/* + */site-packages/nose/* + tests.py diff --git a/.travis.yml b/.travis.yml index f02bc79..c973ea5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,9 @@ language: python python: - - "2.6" -# command to install dependencies + - 2.6 install: - pip install -r requirements.txt --use-mirrors -# command to run tests -script: python tests.py +script: + nosetests tests.py --with-coverage --cover-package=toopher +after_success: + coveralls diff --git a/requirements.txt b/requirements.txt index 0e0f6ca..d9bf92f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,11 @@ +PyYAML==3.11 coverage==3.7 +coveralls==0.4.1 +docopt==0.6.1 +httpretty==0.7.0 nose==1.3.0 oauthlib==0.6.0 requests==2.0.1 requests-oauthlib==0.4.0 +urllib3==1.7.1 Werkzeug==0.9.4