From f1ec6e1e004c5affdb4ba1a00607f01322338e2e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 15 Mar 2016 22:46:49 +0100 Subject: [PATCH] Check docs on Travis --- .travis.yml | 2 ++ scripts/dev/ci/install.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 37f06769b..ccb2d8e3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,8 @@ matrix: env: TESTENV=pylint - os: linux env: TESTENV=flake8 + - os: linux + env: TESTENV=docs - os: linux env: TESTENV=vulture - os: linux diff --git a/scripts/dev/ci/install.py b/scripts/dev/ci/install.py index 7130305c5..4f08ea502 100644 --- a/scripts/dev/ci/install.py +++ b/scripts/dev/ci/install.py @@ -43,7 +43,7 @@ except ImportError: TESTENV = os.environ.get('TESTENV', None) TRAVIS_OS = os.environ.get('TRAVIS_OS_NAME', None) INSTALL_PYQT = TESTENV in ('py34', 'py35', 'py34-cov', 'py35-cov', - 'unittests-nodisp', 'vulture', 'pylint') + 'unittests-nodisp', 'vulture', 'pylint', 'docs') XVFB = TRAVIS_OS == 'linux' and TESTENV == 'py34' pip_packages = ['tox'] if TESTENV is not None and TESTENV.endswith('-cov'): @@ -128,6 +128,8 @@ elif TRAVIS_OS == 'linux': pkgs += ['python3-pyqt5', 'python3-pyqt5.qtwebkit'] if TESTENV == 'eslint': pkgs += ['npm', 'nodejs', 'nodejs-legacy'] + if TESTENV == 'docs': + pkgs += ['asciidoc'] if pkgs: fix_sources_list()