1 # Travis CI(http://travis-ci.org) configuration file
6 # https://docs.travis-ci.com/user/languages/python/
7 # We use apt to avoid having to build PyQt ourselves, so that means
8 # we can only use the default python versions available in Ubuntu.
9 # For Trusty, that's 2.7.6 and 3.4.3.
11 system_site_packages: true
13 # git and python are pre-installed
15 # Update APT cache data since it may outdated
16 - sudo apt-get -qq update
17 # according to Debian control file from Ubuntu 12.04
18 - sudo apt-get install -y git rsync gettext
19 # Runtime dependencies
20 - sudo apt-get install -y python-qt4
21 - sudo apt-get install -y python3-pyqt5
22 # Build/test dependencies
23 - sudo apt-get install -y python-sphinx python3-sphinx
24 - sudo apt-get install -y pylint
26 - git config --global user.name "Git Cola"
27 - git config --global user.email git-cola@localhost.localdomain
33 - make requirements-dev
40 - test "2.7" != "$TRAVIS_PYTHON_VERSION" || make pylint