From b119163bac4ee81a95b1500a51877fff43ed12aa Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 23 Jan 2017 21:25:37 +0200 Subject: [PATCH] - Created a new Tox environment just for docs, added said environment to Travis CI, reintroduced Python 3.2 tests. --- .travis.yml | 6 +++++- tox.ini | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d07079..d2268f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,14 @@ --- language: python -python: ["2.7", "3.3", "3.4", "3.5"] +python: ["2.7", "3.2", "3.3", "3.4", "3.5"] dist: trusty sudo: false cache: - pip +matrix: + include: + - python: "3.5" + env: TOXENV=docs install: - pip install tox-travis diff --git a/tox.ini b/tox.ini index ab86304..4bd8d64 100644 --- a/tox.ini +++ b/tox.ini @@ -19,11 +19,15 @@ deps = flake8 commands = check-manifest --ignore tox.ini,tests* - python setup.py check -m -r -s flake8 . python -m doctest template/filters.py template/__init__.py ./tests.sh +[testenv:docs] +basepython = python +deps = readme_renderer +commands = python setup.py check -m -r -s + [testenv:release] basepython = python whitelist_externals = -- GitLab