diff --git a/.travis.yml b/.travis.yml index 110c139..04c4218 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,8 @@ matrix: - sudo apt-get install -qq ubuntu-restricted-extras ffmpeg before_script: ffmpeg --help + - python: 3.6 + env: TOXENV=doc - python: 3.6 env: TOXENV=check allow_failures: diff --git a/tox.ini b/tox.ini index 2465886..dafc6be 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{35,36,37},check +envlist = py{35,36,37} skip_missing_interpreters = True [travis] @@ -27,3 +27,11 @@ commands = python setup.py checkdocs python setup.py check --strict --metadata check-manifest {toxinidir} + +[testenv:doc] +whitelist_externals = make +deps = + -r {toxinidir}/requirements-doc.txt +usedevelop = true +commands = + make -C docs html