forked from pypa/twine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (40 loc) · 848 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
42
43
44
45
46
47
48
49
50
dist: xenial
language: python
cache: pip
env:
global:
TOXENV: python
matrix:
fast_finish: true
include:
- python: &latest_py3 3.8
- python: 3.7
- python: &oldest_py3 3.6
- python: 3.7
name: Linting code style
env:
TOXENV: lint
- python: *latest_py3
name: Checking type annotations (latest Python)
env:
TOXENV: types
- python: *oldest_py3
name: Checking type annotations (oldest Python)
env:
TOXENV: types
- python: 3.7
name: Making sure that docs build is healthy
env:
TOXENV: docs
- stage: deploy
if: tag IS present
python: *latest_py3
env:
TOXENV: release
after_script: skip
install:
- pip install tox codecov
script:
- tox
after_script:
- codecov --env TRAVIS_OS_NAME,TOXENV