1 # Travis CI(http://travis-ci.org) configuration file
6 # - "3.2" Sphinx depends on Pygments, which only supports Python 3.3+
7 # - "3.3" dotless pytest not available
10 # git and python are pre-installed
12 # Update APT cache data since it may outdated
13 - sudo apt-get -qq update
14 # according to Debian control file from Ubuntu 12.04
15 - sudo apt-get install -y git rsync gettext python-sphinx
17 - git config --global user.name "Git Cola"
18 - git config --global user.email git-cola@localhost.localdomain
22 - mkdir -p local/sandbox
24 - wget "https://src.fedoraproject.org/repo/extras/sip/sip-4.18.1.tar.gz/9d664c33e8d0eabf1238a7ff44a399e9/sip-4.18.1.tar.gz"
25 - tar xzf sip-4.18.1.tar.gz
27 - python configure.py --incdir="$(python -c 'import sys; print(sys.prefix)')"/include/python"$PYTHON_VERSION"
32 - wget "https://src.fedoraproject.org/repo/pkgs/PyQt4/PyQt-x11-gpl-4.11.4.tar.gz/2fe8265b2ae2fc593241c2c84d09d481/PyQt-x11-gpl-4.11.4.tar.gz"
33 - tar xzf PyQt-x11-gpl-4.11.4.tar.gz
34 - cd PyQt-x11-gpl-4.11.4
35 - python configure.py --confirm-license --no-designer-plugin --no-qsci-api --no-timestamp
42 - make requirements-dev
47 # Sphinx requires Python 2.7 or 3.4+
48 - test "2.6" = "$TRAVIS_PYTHON_VERSION" || make doc
49 # pylint uses python2.7+ syntax
50 - test "2.6" = "$TRAVIS_PYTHON_VERSION" || make pylint3k