mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 04:00:18 +03:00
Allow lint failures for now; use py35 for lint and coverage.
This commit is contained in:
parent
84f8f6e013
commit
d72ed4619b
15
.travis.yml
15
.travis.yml
|
@ -4,22 +4,23 @@ language: python
|
||||||
cache: pip
|
cache: pip
|
||||||
|
|
||||||
# Tox cannot install pythons, so we set 3.5 as default, use 3.4 already
|
# Tox cannot install pythons, so we set 3.5 as default, use 3.4 already
|
||||||
# available in container and then include 3.6 in matrix.
|
# available in container, and then include 3.6 in matrix.
|
||||||
python:
|
python:
|
||||||
- 3.5
|
- 3.5
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- TOXENV=py34
|
matrix:
|
||||||
- TOXENV=py35
|
- TOXENV=py34
|
||||||
|
- TOXENV=py35
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: 3.6
|
- python: 3.6
|
||||||
env: TOXENV=py36
|
env: TOXENV=py36
|
||||||
- python: 3.4 # i.e. skip installing 3.5
|
- env: TOXENV=coverage
|
||||||
env: TOXENV=lint
|
- env: TOXENV=lint
|
||||||
- python: 3.4
|
allow_failures:
|
||||||
env: TOXENV=coverage34
|
- env: TOXENV=lint
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install tox
|
- pip install tox
|
||||||
|
|
22
tox.ini
22
tox.ini
|
@ -12,16 +12,7 @@ commands =
|
||||||
deps = coverage
|
deps = coverage
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
basepython = python3.4
|
basepython = python3.5
|
||||||
skip_install = true
|
|
||||||
commands =
|
|
||||||
coverage combine
|
|
||||||
coverage report
|
|
||||||
deps =
|
|
||||||
coverage
|
|
||||||
|
|
||||||
[testenv:coverage34]
|
|
||||||
basepython = python3.4
|
|
||||||
install_command =
|
install_command =
|
||||||
pip install {opts} {packages}
|
pip install {opts} {packages}
|
||||||
ignore_errors = True
|
ignore_errors = True
|
||||||
|
@ -34,8 +25,17 @@ commands =
|
||||||
deps =
|
deps =
|
||||||
coverage
|
coverage
|
||||||
|
|
||||||
|
[testenv:combine_coverage]
|
||||||
|
basepython = python3.5
|
||||||
|
skip_install = true
|
||||||
|
commands =
|
||||||
|
coverage combine
|
||||||
|
coverage report
|
||||||
|
deps =
|
||||||
|
coverage
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
basepython = python3.4
|
basepython = python3.5
|
||||||
skip_install = true
|
skip_install = true
|
||||||
commands =
|
commands =
|
||||||
flake8
|
flake8
|
||||||
|
|
Loading…
Reference in New Issue
Block a user