forked from aio-libs/multidict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (49 loc) · 1.69 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: required
services:
- docker
language: python
python:
- 3.4
- 3.5
- 3.6
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 codecov
- pip install twine
script:
- flake8 multidict tests
- pytest --cov=multidict tests
- python setup.py check -rm
- if python -c "import sys; sys.exit(sys.version_info < (3,6))"; then
python setup.py check -s;
fi
after_success:
- codecov
- ./run_docker.sh
env:
matrix:
# MULTIDICT_NO_EXTENSIONS environment variables
# are considered as enabled if they are any non empty strings.
- MULTIDICT_NO_EXTENSIONS=
- MULTIDICT_NO_EXTENSIONS=X
deploy:
skip_cleanup: true
provider: pypi
user: andrew.svetlov
password:
secure: ZFCicrh4l5zraarOwAwLXzYyGLnrxMHAFEFxF6ZEpECamu4eDsbKAFM/ydYdHoL19ocLr5+Xg1fmgd5tjc29c2rHQh29iDFi7tWai2pDFw+WqeHaV6e7ZJEEnU29OpSRzkGIk+K27mn7ZsB97q3Rkg2JBYRBkeK6HNyZ5YgIaVssXXXuCi5LZ1Y0rg8Nbapes1RUqoHGWgBwlCjAVxp9U7RXqJ6jucHDGUHU+9AgnnlGI7Cqs3xLqp4/xt2VoIjL0XwG2y05WLLpEF3Jwtj2voiPsnSTpUwklXVr1rEwScPCMlImxmWmudvh7xcPtcK9IOHIvk6y/lmNHJeevRn+df50LtBdr+0Wrq/t3Tt5d05XKCgqaLtw2P4GYNfTsx1RmQjHzUlfHKke7UZ1P+GsZTKN9nLKVdFTi2YzQ0TVmr/JjAmVqldRBOvEMnVoDn1rj1gdHMIu4d/gRVTcSS3riey+L2o6NwKjoc7aV5Uz47Z7fjz09Q6xml9eBWAHx9O07Iq+BaCikhBzeHGo+AkIzGMQdCSyQ8tTjQtEq6zWGxolZQFJeW9glTGLSYMfiVaPDEyqxaDm/QKssnZiEIbq1YM018C6ojiA3xbPJrwSZ8l/mnCkxrIcbKcwwtaHFPyP/FicePT01oJAXx08wnwe5H2l6lqkSGgRnGendZNeEuQ=
distributions: "sdist"
on:
tags: true
all_branches: true
condition: "-z $MULTIDICT_NO_EXTENSIONS"