forked from nibrag/aiosocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 762 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
35
36
37
38
39
40
41
sudo: no
language: python
python:
- 3.4
- 3.5
os:
- linux
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 pip
- pip install flake8
- pip install pyflakes==1.1.0
- pip install coverage
- pip install pytest
- pip install pytest-cov
- pip install aiodns
- pip install aiohttp
- pip install coveralls
script:
- cd $TRAVIS_BUILD_DIR
- flake8 aiosocks tests
- python setup.py develop && py.test --cov=aiosocks 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