Use pytest rather than tox for Travis-CI compatibility