Skip to content

Commit

Permalink
:add: nose tests with coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Jun 15, 2015
1 parent 64316e2 commit 4cd7494
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ python:
- "3.2"
- "3.3"
- "3.4"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# command to install dependencies
install:
- pip install .
- pip install nose coverage
- pip install coveralls
# command to run tests
script:
- coverage run setup.py test
- python setup.py nosetests --with-coverage --cover-package pypiview
# command to run after success
after_success:
- coveralls

0 comments on commit 4cd7494

Please sign in to comment.