language: python
python:
  - "3.5"
  - "3.6"
script:
  - pytest

language: python
python:
  - "3.5"
  - "3.6"
script:
  - nosetests

Use nosetests to run tests.
Use nosetests to run tests.

pytests returns a non-zero exit code when no test is run. This leads to
failed builds.
