Use right exception.
[jelmer/subvertpy.git] / .travis.yml
1 language: python
2 dist: trusty
3 addons:
4   apt:
5     update: true
6     packages: libapr1-dev libaprutil1-dev libdb5.3-dev liblz4-dev libsasl2-dev libperl-dev libserf-dev libsqlite3-dev libtool python-all-dev libneon27-gnutls-dev
7 python:
8   - "2.7"
9   - "3.4"
10   - "3.5"
11   - "3.6"
12 env:
13 # SVN 1.10 requires libutf8proc, which isn't available on trusty :(
14 #  - SVN_VERSION=1.10.0
15 #    SVN_OPTIONS="--with-lz4=internal"
16   - SVN_VERSION=1.9.7
17   - SVN_VERSION=1.8.19
18   - SVN_VERSION=1.7.19
19   - SVN_VERSION=1.6.21
20   - SVN_VERSION=1.5.9
21 script:
22     - make check
23     - make style
24 install:
25     - travis_retry pip install -U pip coverage codecov flake8
26 before_install:
27     - wget https://archive.apache.org/dist/subversion/subversion-${SVN_VERSION}.tar.gz
28     - tar xvfz subversion-${SVN_VERSION}.tar.gz
29     - cd subversion-${SVN_VERSION}
30     - ./configure ${SVN_OPTIONS}
31     - make
32     - sudo make install
33     - sudo ldconfig -v
34     - cd ..
35 after_success:
36   - python -m coverage combine
37   - codecov