Files @ 37395e095210
Branch filter:

Location: gimmecert/tox.ini

branko
GC-35: Drop support for Python 3.4:

- Updated documentation, removing Python 3.4 as supported version.
- Updated documentation to include support for Python 3.7 (this was
already supported, but documentation did not list it in a couple of
places).
- Updated Tox configuration with list of supported Python
versions.
- Build Python 3.5.x for full test against all Python versions in
order to make it independent of underlying distribution Python
version.
- Update package requirements.
- Updated release notes.
[tox]
envlist = {py35,py36,py37},lint,doc

[testenv]
whitelist_externals =
  make

basepython =
  doc: python3
  lint: python3
  py35: python3.5
  py36: python3.6
  py37: python3.7

deps =
  .[test]

commands =
  # Must specify cov-report explicitly, otherwise coverage starts
  # going through the tests as well.
  pytest --cov --cov-report=term-missing:skip-covered --basetemp={envtmpdir} tests/ functional_tests/

[testenv:lint]
deps =
  .[testlint]
commands =
  flake8

[testenv:doc]
deps =
  .[doc]
setenv =
  # Override Sphinx build directory so we do not trample over user's
  # build in source directory.
  BUILDDIR={envtmpdir}/docs_build
commands =
  # Easier to run than changing directory with separate comand. -e
  # will ensure the BUILDDIR gets picked-up and overrides the Makefile
  # content.
  make -C docs/ -e html