From c1d3d4fe3ce9c5b9ba1e664ae786b0a399f6011d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20V=C3=AEjdea?= Date: Sat, 29 Dec 2018 17:42:12 +0200 Subject: [PATCH] Add .readthedocs.yml --- .readthedocs.yml | 15 +++++++++++++++ .travis.yml | 5 ++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..440aa74 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,15 @@ +requirements_file: requirements/docs.txt + +build: + image: latest + +python: + version: 3.6 + setup_py_install: false + pip_install: true # need this for correct pyproject.toml handling + extra_requirements: + - validation + +# extra formats in addition to the default HTML web docs +formats: + - pdf diff --git a/.travis.yml b/.travis.yml index d21d864..9ae477a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,11 +15,10 @@ jobs: python: '3.7' dist: xenial sudo: required + - python: '3.6' + env: TOXENV=docs - python: '3.6' env: TOXENV=djmaster - - # readthedocs uses python 3.5 for building - python: '3.5' - env: TOXENV=docs - python: '3.6' env: TOXENV=lint