diff --git a/.travis.yml b/.travis.yml index 2dea0409..a9fde9aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ python: install: - "pip install -r requirements_dev.txt" - "python setup.py install" + - python check_py3k.py && pip install aiohttp || true script: py.test -x tests/ branches: only: diff --git a/check_py3k.py b/check_py3k.py new file mode 100644 index 00000000..17a9af99 --- /dev/null +++ b/check_py3k.py @@ -0,0 +1,6 @@ +import sys + +if sys.version_info[0] < 3: + sys.exit(1) +else: + sys.exit(0)