Code Repositories xandikos / a113ea8 .travis.yml
a113ea8

Tree @a113ea8 (Download .tar.gz)

.travis.yml @a113ea8raw · history · blame

language: python
cache: pip
sudo: true
addons:
  apt:
    update: true
python:
  - 3.4
  - 3.5
  - 3.6
  - pypy3.5
env:
  global: PYTHONHASHSEED=random
matrix:
  include:
    - python: 3.7
      dist: xenial
    # defusedxml appears to be broken on Python 3.8:
    # See https://github.com/tiran/defusedxml/pull/24
    #- python: 3.8-dev
    #  dist: xenial
install:
  - pip install pip --upgrade
  - pip install flake8 pycalendar vobject lxml requests six tzlocal pytz
  - sudo apt-get install -qq libneon27-dev curl python2.7
  - sudo apt-get install -qq cargo make
  - python setup.py develop
script:
  - make style
  - make check
  # Retrieve litmus from Xandikos server for now, since webdav.org is down.
  - make check-litmus LITMUS_URL=https://www.xandikos.org/litmus-0.13.tar.gz
  - make check-caldavtester
  - make check-pycaldav
  - if [ "$TRAVIS_PYTHON_VERSION" = "3.6" ]; then
        pip install "attrs>=17.4.0"
        make check-vdirsyncer;
    fi
cache:
  pip: true