adaptions for pypy/travis