forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 847 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
sudo: no
language: python
python:
- 3.4
- 3.5
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
install:
- pip install --upgrade pip wheel
- pip install --upgrade setuptools
- pip install -r requirements-dev.txt
script:
- flake8 aiohttp
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
flake8 examples tests;
fi
- coverage run --source=aiohttp setup.py test
- python setup.py check -rm
env:
matrix:
# PYTHONASYNCIODEBUG and AIOHTTP_NO_EXTENSIONS environment variables
# are considered as enabled if they are any non empty strings.
- PYTHONASYNCIODEBUG=X AIOHTTP_NO_EXTENSIONS=
- PYTHONASYNCIODEBUG= AIOHTTP_NO_EXTENSIONS=
- PYTHONASYNCIODEBUG=X AIOHTTP_NO_EXTENSIONS=X
- PYTHONASYNCIODEBUG= AIOHTTP_NO_EXTENSIONS=X