cmds: use self.model.head for consistency in the Diff command
[git-cola.git] / .travis.yml
blob495fe6089b53133646edf6a9140441601dc93a7d
1 # Travis CI(http://travis-ci.org) configuration file
2 #  https://docs.travis-ci.com/user/languages/python/
3 language: python
4 dist: bionic
6 python:
7 - 2.7
8 - &latest_py3 3.9
10 cache: pip
12 before_install:
13   # Git test setup
14   - git config --global user.name "Git Cola"
15   - git config --global user.email git-cola@localhost.localdomain
16   - sudo apt update
17   # Build dependencies
18   - sudo apt install -y gettext
19   - sudo apt install -y rsync
20   - sudo apt install -y python-sphinx
21   - sudo apt install -y python3-sphinx
22   # Runtime dependencies
23   - sudo apt install -y python-pyqt5
24   - sudo apt install -y python3-pyqt5
25   # Test dependencies
26   - sudo apt install -y python3-venv
28 install:
29   # Build translations
30   - make all
32 before_script:
33   - pip install tox tox-venv
35 script:
36   - tox
37   - tox -e pylint