From e9bc62d5b4675e5c43f3e35b0296ad8f57890851 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 1 Nov 2019 09:10:10 +0100 Subject: [PATCH] .travis.yml: Install pygments via pip instead of apt (#2318) This way we should get a newer version of pygments. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9662cefc7..496ecd20b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,12 +20,13 @@ env: before_install: # install needed deps - travis_retry sudo apt-get update -qq - - travis_retry sudo apt-get install -qq python-pygments python3-pip qt5-default qt5-qmake qtbase5-dev qtcreator libxml2-utils libpcre3 gdb unzip wx-common xmlstarlet python3-dev liblua5.3-dev libcurl3 libcairo2-dev libsigc++-2.0-dev + - travis_retry sudo apt-get install -qq python3-pip qt5-default qt5-qmake qtbase5-dev qtcreator libxml2-utils libpcre3 gdb unzip wx-common xmlstarlet python3-dev liblua5.3-dev libcurl3 libcairo2-dev libsigc++-2.0-dev # Python 2 modules - travis_retry python2 -m pip install --user pytest==4.6.4 - travis_retry python2 -m pip install --user pylint - travis_retry python2 -m pip install --user unittest2 - travis_retry python2 -m pip install --user pexpect # imported by tools/ci.py + - travis_retry python2 -m pip install --user pygments # Python 3 modules - travis_retry python3 -m pip install --user setuptools --upgrade - travis_retry python3 -m pip install --user pytest @@ -33,6 +34,7 @@ before_install: - travis_retry python3 -m pip install --user unittest2 - travis_retry python3 -m pip install --user pexpect # imported by tools/ci.py - travis_retry python3 -m pip install --user requests # imported by tools/pr.py + - travis_retry python3 -m pip install --user pygments matrix: # do notify immediately about it when a job of a build fails.