1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-15 12:55:51 +01:00
pypiserver/.travis-runtox.py
Ralf Schmitt be52ec1c40 fix .travis.yml, tox.ini
python 2.5 needs an older webob version. so, we add the dependency in
tox.ini. we use tox to run the tests on travis.

remove python 3.3 from travis.yml as it's not there yet.
2012-12-02 02:35:50 +01:00

16 lines
253 B
Python
Executable File

#! /usr/bin/env python
def main():
import sys, os
if hasattr(sys, "pypy_version_info"):
v = "pypy"
else:
v = "py%s%s" % (sys.version_info[:2])
os.execvp("tox", ["tox", "-e", v])
if __name__ == "__main__":
main()