forked from projecthamster/hamster-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 1.09 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
# This file exists within 'dob':
#
# https://github.com/hotoffthehamster/dob
# Travis CI config.
#
# https://travis-ci.org/hotoffthehamster/dob
language: python
# Specify xenial or bionic for 3.7+ support.
dist: xenial
matrix:
include:
# Unit tests run on each Python version.
- env: TOXENV=py38
python: '3.8'
- env: TOXENV=py37
python: '3.7'
- env: TOXENV=py36
python: '3.6'
# Other tasks run against latest Python.
# - Upload reports to Codecov.io.
- env: TOXENV=codecov
python: '3.8'
# - Verify long description (README.rst) will render on PyPI.
- env: TOXENV=dist_check
python: '3.8'
# - Lint docs (doc8).
- env: TOXENV=docs
python: '3.8'
# - Lint code (flake8).
- env: TOXENV=flake8
python: '3.8'
# Unless docstrings repaired, linting disabled.
# # - Verify docstring conventions (née pep257).
# - env: TOXENV=pydocstyle
# python: '3.8'
install:
- pip install -U tox
script: tox
notifications:
email: false
# Automatic build safelist.
branches:
only:
- proving
- release