From bc6cc03491480afe90663fed9b56e07537980022 Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Sat, 13 Jul 2019 13:14:21 +0200 Subject: Fix Travis docs build on Python 3.4+ --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 0b7ad76..cb495de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,14 @@ install: - pip install -e . script: - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py - - make -C docs html + - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then (make -C docs html); fi + - if [[ $TRAVIS_PYTHON_VERSION == 'nightly' ]]; then (make -C docs html); fi after_success: - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py - codecov -- cgit v1.2.1