forked from falconry/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
74 lines (67 loc) · 2.13 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
67
68
69
70
71
72
73
74
language: python
dist: xenial
install: pip install tox
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- python: pypy3.6-7.1.1
env: TOXENV=pypy3
- python: 3.8
env: TOXENV=pep8
- python: 3.8
env: TOXENV=pep8-examples
- python: 3.8
env: TOXENV=mypy
# NOTE(kgriffs): 3.5.2 is the default Python 3 version on Ubuntu 16.04
# so we pin to that for testing to make sure we are working around
# and quirks that were fixed in later micro versions.
- python: 3.5.2
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.6
env: TOXENV=py36_cython
- python: 3.7
env: TOXENV=py37
- python: 3.8
env: TOXENV=py38
- python: 3.8
env: TOXENV=py38_cython
- python: 3.8
# NOTE(vytas): Big-endian architecture
arch: s390x
os: linux
env: TOXENV=py38_cython
- python: 3.8
env: TOXENV=py38_smoke
- python: 3.8
env: TOXENV=py38_smoke_cython
- python: 3.8
env: TOXENV=docs
# TODO(kgriffs): Re-enable once hug has a chance to address
# breaking changes in Falcon 3.0
# - python: 3.7
# env: TOXENV=hug
- python: 3.8
env: TOXENV=look
- python: 3.8
env: TOXENV=check_vendored
script: tox -- -v
notifications:
webhooks:
urls:
secure: "R4Hr754P2v69tWoy6vKz/4csb6ZHYRM/+8vTVV6ioDWyqsPqyGXAPiXDfZ617C7TLxJiTlbFIJPjlcH64estPg+RZ1NA4D8BrDKS2nKqHJ2Z5Jv6X5Ds6HkEUNnYXsuwsqNvZzhpPRcCKXXRpvmAbkNUSe8ftn4kz2zCOA9MBSY="
on_success: change
on_failure: always
before_install:
# NOTE(vytas): wheels sometimes fail to build on s390x due to cache being
# owned by another user.
- sudo chown -R travis:travis $HOME/.cache/pip
# NOTE(vytas): libunwind-dev does not exist for s390x in Ubuntu 16.04
- if [[ `uname -m` == *86* ]]; then sudo apt-get update && sudo apt-get install -y libunwind-dev; fi
- pip install codecov
after_success:
- coverage combine
- codecov