forked from python-attrs/attrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (62 loc) · 1.21 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
75
76
77
78
79
80
dist: xenial
group: travis_latest
cache:
directories:
- $HOME/.cache/pip
language: python
matrix:
fast_finish: true
include:
# lint
- python: "3.7"
stage: lint
env: TOXENV=lint
- python: "3.7"
env: TOXENV=manifest
- python: "3.7"
env: TOXENV=typing
# test
- python: "2.7"
stage: test
env: TOXENV=py27
- python: "3.4"
env: TOXENV=py34
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "pypy"
env: TOXENV=pypy
dist: trusty
- python: "pypy3"
env: TOXENV=pypy3
dist: trusty
- python: "3.7"
env: TOXENV=py37
# Prevent breakage by new releases
- python: "3.7-dev"
env: TOXENV=py37
# Docs
- python: "3.5"
stage: docs
env: TOXENV=docs
- python: "3.7"
stage: doctest
env: TOXENV=doctest
- python: "3.7"
env: TOXENV=pypi-description
- python: "3.7"
env: TOXENV=changelog
allow_failures:
- python: "3.7-dev"
install:
- pip install --upgrade tox
script:
- tox
before_install:
- pip install codecov
after_success:
- tox -e coverage-report
- codecov
notifications:
email: false