Code Repositories xandikos / master .travis.yml
master

Tree @master (Download .tar.gz)

.travis.yml @masterraw · history · blame

language: python
cache: pip
sudo: true
python:
  - 3.3
  - 3.4
  - 3.5
  - 3.6
  - pypy3.3-5.2-alpha1
env:
  global: PYTHONHASHSEED=random
install:
  - pip install pip --upgrade
  - pip install coverage codecov flake8 pycalendar
  - sudo apt-get install -qq libneon27-dev curl python2.7
  - sudo apt-get install -qq cargo
  - python setup.py develop
script:
  - make style
  - make coverage
  - mv .coverage .coverage.unit
  # Retrieve litmus from Fedora server for now, since webdav.org is down.
  - make coverage-litmus LITMUS_URL=http://pkgs.fedoraproject.org/repo/pkgs/litmus/litmus-0.13.tar.gz/7c081e182214e771bc615232ef475b00/litmus-0.13.tar.gz
  - mv .coverage .coverage.litmus
  - if [ "$TRAVIS_PYTHON_VERSION" = "3.6" ]; then
        make coverage-vdirsyncer;
        mv .coverage .coverage.vdirsyncer;
    fi
  - make coverage-caldavtester
  - mv .coverage .coverage.caldavtester
after_success:
  - python -m coverage combine
  - codecov
cache:
    pip: true