[travis] upgrade and use pytest directly