language: python
dist: trusty
addons:
  apt:
    update: true
    packages: libapr1-dev apache2-dev libaprutil1-dev libdb5.3-dev liblz4-dev libsasl2-dev libperl-dev libserf-dev libsqlite3-dev libtool python-all-dev
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
env:
  - SVN_VERSION=1.10.0
  - SVN_VERSION=1.9.7
  - SVN_VERSION=1.8.19
  - SVN_VERSION=1.7.19
  - SVN_VERSION=1.6.21
  - SVN_VERSION=1.5.9
script:
    - make check
    - make style
install:
    - travis_retry pip install -U pip coverage codecov flake8
before_install:
    - wget https://archive.apache.org/dist/subversion/subversion-${SVN_VERSION}.tar.gz
    - tar xvfz subversion-${SVN_VERSION}.tar.gz
    - cd subversion-${SVN_VERSION}
    - ./configure
    - make
    - sudo make install
    - cd ..
after_success:
  - python -m coverage combine
  - codecov

language: python
dist: trusty
addons:
  apt:
    update: true
    packages: libapr1-dev apache2-dev libaprutil1-dev libdb5.3-dev liblz4-dev libsasl2-dev libperl-dev libserf-dev libsqlite3-dev libtool python-all-dev
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
env:
  - SVN_VERSION=1.10.0
    SVN_OPTIONS="--with-lz4=internal"
  - SVN_VERSION=1.9.7
  - SVN_VERSION=1.8.19
  - SVN_VERSION=1.7.19
  - SVN_VERSION=1.6.21
  - SVN_VERSION=1.5.9
script:
    - make check
    - make style
install:
    - travis_retry pip install -U pip coverage codecov flake8
before_install:
    - wget https://archive.apache.org/dist/subversion/subversion-${SVN_VERSION}.tar.gz
    - tar xvfz subversion-${SVN_VERSION}.tar.gz
    - cd subversion-${SVN_VERSION}
    - ./configure ${SVN_OPTIONS}
    - make
    - sudo make install
    - cd ..
after_success:
  - python -m coverage combine
  - codecov

Build svn 1.10 with --with-lz4=internal.
Build svn 1.10 with --with-lz4=internal.
