Merge pull request #781 from berkerpeksag/use-travis-py-version

Use TRAVIS_PYTHON_VERSION to install aiohttp on Python 3.
This commit is contained in:
Andrew Svetlov 2014-06-13 00:19:32 +03:00
commit 573f18d0da
2 changed files with 1 additions and 7 deletions

View File

@ -8,7 +8,7 @@ python:
install:
- "pip install -r requirements_dev.txt"
- "python setup.py install"
- python check_py3k.py && pip install aiohttp || true
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install aiohttp; fi
script: py.test -x tests/
branches:
only:

View File

@ -1,6 +0,0 @@
import sys
if sys.version_info[0] < 3:
sys.exit(1)
else:
sys.exit(0)