Use py.test on Travis
authorThomas Kluyver <takowl@gmail.com>
Mon, 2 Jun 2014 00:59:47 +0000 (17:59 -0700)
committerThomas Kluyver <takowl@gmail.com>
Mon, 2 Jun 2014 03:40:07 +0000 (20:40 -0700)
.travis.yml

index a95805d4c79fcb8a0210a3c46747ffdacb445ebd..d6bf8a1381670f5449609cf742d292af8fe57f93 100644 (file)
@@ -13,12 +13,10 @@ before_install:
 install:
   - export PYTHONIOENCODING=UTF8
   - python setup.py install
-  - pip install coveralls --use-mirrors
+  - pip install coveralls pytest-cov
 
-before_script:
-  - source test.env
 script:
-  - coverage run tools/testall.py
+    - py.test --cov pexpect --cov-config .coveragerc
 
 after_success:
   - coverage combine