forked from cdown/tzupdate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (33 loc) · 925 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
dist: xenial
language: python
cache: pip
install: pip install --upgrade tox
script: tox
# Drop once EOL: https://devguide.python.org/#status-of-python-branches
# Also bump python_requires in setup.py
jobs:
include:
## Linux
# CPython (in official virtualenv)
- python: '3.5'
- python: '3.6'
# 3.7 is below
- python: '3.8'
# PyPy (in official virtualenv)
- python: pypy3
env: TOXENV=pypy3
# Correctness tests. "coverage" toxenv runs tests, so no need to run
# TOXENV=py38.
#
# TODO: pytype doesn't yet support 3.8, switch this with 3.8 above when it
# does
- python: '3.7'
env: TOXENV=black,pylint,pytype,bandit,coverage
## Special jobs
# Run long Hypothesis tests for release/cron
- if: branch =~ ^release/.*$ or type = cron
python: '3.8'
env: TOXENV=py-release
notifications:
email: