mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Use TRAVIS_PYTHON_VERSION to install aiohttp on Python 3.
This commit is contained in:
parent
b00e875cc4
commit
ab3428ec38
@ -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:
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
import sys
|
||||
|
||||
if sys.version_info[0] < 3:
|
||||
sys.exit(1)
|
||||
else:
|
||||
sys.exit(0)
|
||||
Loading…
x
Reference in New Issue
Block a user