fix travis for python 3 and pypy