From 3d6365862cbe15f790e889b4bbca4d1eddbb33fa Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sat, 10 Nov 2018 20:05:34 -0800 Subject: [PATCH] travis: organize packages into test, build, and runtime buckets Signed-off-by: David Aguilar --- .travis.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2c825825..155e74f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,16 +13,18 @@ virtualenv: addons: apt: packages: - # git and python are pre-installed - # according to Debian control file from Ubuntu 12.04 - - rsync + # Build dependencies, not needed at runtime + # git and python are pre-installed according to Debian control file from + # Ubuntu 12.04. Install for both python2 and python3 to allow testing + # against both versions. Users only need one variant installed. - gettext + - python-sphinx + - python3-sphinx + - rsync # Runtime dependencies - python-qt4 - python3-pyqt5 - # Build/test dependencies - - python-sphinx - - python3-sphinx + # Test dependencies - pylint before_install: @@ -41,6 +43,7 @@ script: - make test V=2 - make doc - pylint --version + # Only run the full pylint tests on python2.7 - test "2.7" != "$TRAVIS_PYTHON_VERSION" || make pylint - make pylint3k - flake8 --version -- 2.11.4.GIT