summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: a365e3b1edef94a90559a9f0abc9ebb294b750cb (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
language: python

# Python 3.5 specified to make tox environment 'py35' work.
# See: https://github.com/travis-ci/travis-ci/issues/4794
python:
  - 3.5

# Environment changes have to be manually synced with 'tox.ini'.
# See: https://github.com/travis-ci/travis-ci/issues/3024
env:
  - TOXENV=py27
  - TOXENV=py33
  - TOXENV=py34
  - TOXENV=py35
  - TOXENV=pypy

install:
  - pip install -r requirements.txt
  - pip install coveralls

script:
  - tox

after_success:
  # Coveralls submission only for py35 environment, because of being the only
  # one that executes doctest-modules testing, according to tox.ini.
  - if [ ${TOXENV} = "py35" ]; then coveralls; fi