diff --git a/.travis.yml b/.travis.yml index cae22d3..99531a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_install: - pip install codecov install: - if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install pytest coverage pytest-cov .; else pip install ".[test]"; fi -script: pytest --cov=cachier +script: python -m pytest --cov=cachier # submit coverage after_success: # - coveralls diff --git a/README.rst b/README.rst index 7e9a80b..ea825eb 100644 --- a/README.rst +++ b/README.rst @@ -206,7 +206,7 @@ To run the tests use: .. code-block:: bash - pytest --cov=cachier + python -m pytest --cov=cachier Adding documentation