forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (49 loc) · 1.34 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sudo: no
language: python
python:
- 3.4
- 3.5
os:
- linux
# - osx
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-ci.txt
- pip install aiodns
- pip install coveralls
script:
- flake8 aiohttp
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
flake8 examples tests;
fi
- py.test --cov=aiohttp tests
- python setup.py check -rm
- if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
python setup.py check -s;
fi
after_success:
coveralls
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
deploy:
provider: pypi
user: andrew.svetlov
password:
secure: ZQKbdPT9BlNqP5CTbWRQyeyig7Bpf7wsnYVQIQPOZc9Ec74A+dsbagstR1sPkAO+d+5PN0pZMovvmU7OQhSVPAnJ74nsN90/fL4ux3kqYecMbevv0rJg20hMXSSkwMEIpjUsMdMjJvZAcaKytGWmKL0qAlOJHhixd1pBbWyuIUE=
distributions: "sdist"
on:
tags: true
all_branches: true
python: 3.5