diff --git a/.travis.yml b/.travis.yml
index 80e6e5b74dca475034ad8eef025a1441555214b4..74bb9f7f91a1a4e5b6cd0cbadc21740393bce875 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,10 +8,10 @@ python:
 
 install: 
   - python setup.py install
-  - pip install pytest-pep8 pytest-cov coveralls responses
+  - pip install coverage coveralls
 
 script: 
-  - py.test --pep8 mwclient -v --cov mwclient tests
+  - coverage run --source=mwclient setup.py test
 
 after_success:
   - coveralls