Fixed bugs in identifying failed tests in travis CI
This PR fixes a bug in the TravisCI configuration introduced by #552 whereby a failing pytest run wouldn't be picked up by Travis itself.
This PR fixes a bug in the TravisCI configuration introduced by #552 whereby a failing pytest run wouldn't be picked up by Travis itself.