forked from wechatpy/wechatpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (59 loc) · 1.49 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
60
61
62
63
64
65
66
dist: xenial
sudo: required
language: python
matrix:
include:
- env: TOX_ENV=py27-cryptography
dist: trusty
python: 2.7
- env: TOX_ENV=py27-pycrypto
dist: trusty
python: 2.7
- env: TOX_ENV=py34-cryptography
dist: trusty
python: 3.4
- env: TOX_ENV=py34-pycrypto
dist: trusty
python: 3.4
- env: TOX_ENV=py35-cryptography
python: 3.5
- env: TOX_ENV=py35-pycrypto
python: 3.5
- env: TOX_ENV=py36-cryptography
python: 3.6
- env: TOX_ENV=py36-pycrypto
python: 3.6
- env: TOX_ENV=py37-cryptography
python: 3.7
- env: TOX_ENV=py37-pycrypto
python: 3.7
- env: TOX_ENV=pypy-cryptography
dist: trusty
python: "pypy-5.3.1"
services:
- redis-server
- memcached
cache:
directories:
- $HOME/.cache/pip
install:
- pip install tox
- pip install coverage
script: tox -e $TOX_ENV
after_success:
- pip install scrutinizer-ocular codecov
- ocular
- codecov
- |
if [[ "${TRAVIS_TAG:-}" != "" && "$TOX_ENV" == "py36-cryptography" ]]; then
python3.6 -m pip install -U twine wheel;
python3.6 setup.py sdist bdist_wheel;
python3.6 -m twine upload --skip-existing dist/*;
fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/56c9af5a787e8c742f81
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false