language: python
cache: pip
sudo: true
dist: xenial
addons:
apt:
update: true
python:
- 3.4
- 3.5
- 3.6
- 3.7
- 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:
- sudo apt-get install -qq libneon27-dev curl python2.7
- sudo apt-get install -qq cargo make
- pip install pip --upgrade
- pip install flake8 pycalendar vobject lxml requests six tzlocal pytz attrs
- 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
# Disabled because of https://github.com/pimutils/vdirsyncer/issues/789
#- if [ "$TRAVIS_PYTHON_VERSION" = "3.6" ]; then
# make check-vdirsyncer;
# fi
cache:
pip: true