summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: d0ab77c3805519dd801b6acf4e3928f73493b3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: python
sudo: false
matrix:
  include:
    - python: 2.7
    - python: 3.4
    - python: 3.5
    - python: 3.6
    - python: pypy
    - python: pypy3
    - python: 2.7
      env:
          - PURE_PYTHON=1
install:
    - pip install -U pip
    - pip install -U setuptools
    - pip install -U coverage coveralls
    - pip install -e .[test,docs]
script:
    - coverage run -m zope.testrunner --test-path=src
    - sphinx-build                         -b html    -d docs/_build/doctrees docs docs/_build/html
    - coverage run -a `which sphinx-build` -b doctest -d docs/_build/doctrees docs docs/_build/doctest

after_success:
    - coveralls

notifications:
    email: false
cache: pip
before_cache:
    - rm -f $HOME/.cache/pip/log/debug.log