language: python
python:
  - "2.7"
  - "3.4"
  - "3.6"
  # PyPy versions
  - "pypy3.5"
# command to install dependencies
install:
  - pip install codecov
  - pip install pytest pytest-cov
  - pip install .
  - pip install -r requirements.txt
# command to run tests
script:
  - pytest --cov=./
after_success:
  - codecov

language: python
python:
  - "2.7"
  - "3.4"
  - "3.6"
  # PyPy versions
  - "pypy3.5"
# command to install dependencies
install:
  - pip install codecov
  - pip install pytest pytest-cov
  - pip install .
  - pip install -r requirements.txt
# command to run tests
script:
  - coverage run --source=. -m py.test -s tests/
after_success:
  - coverage report
  - codecov

Use coverage rather than pytest
Use coverage rather than pytest
