Browse Source

Use pytest --cov

rafalp 6 years ago
parent
commit
c3f53011e0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -7,11 +7,11 @@ python:
   - "3.6"
 install:
   - pip install -U pip setuptools
-  - pip install coveralls
   - python setup.py install
+  - pip install coveralls pytest-cov
 before_script:
   - psql -c "create database travis_ci_test;" -U postgres
 script:
-  - coverage run --source=pytest
+  - pytest --cov
 after_success:
   - coveralls