summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 084c8a777299d845ad0b253558abfafc24918494 (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
32
33
34
35
36
language: python
python:
  - 2.7
  - 3.5
  - 3.6
  - 3.7
  - 3.8
  - pypy
  - pypy3

jobs:
  include:
    - name: "Python: 2.7, pure (no C extensions)"
      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 -m sphinx -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