language: python
python:
  - 3.2
  - 3.3
  - 3.4
  - pypy3
install:
  - pip install flake8
  - pip install coverage
  - pip install coveralls
  - pip install mock
  - pip install nose
  - pip install requests
  - pip install responses
script:
  - nosetests tests --with-coverage --cover-package=retdec --cover-erase
  - flake8 --ignore=E501 retdec tests
after_success:
  - coveralls

language: python
python:
  - 3.2
  - 3.3
  - 3.4
  - pypy3
install:
  - pip install flake8
  - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; else pip install coverage; fi
  - pip install coveralls
  - pip install mock
  - pip install nose
  - pip install requests
  - pip install responses
script:
  - nosetests tests --with-coverage --cover-package=retdec --cover-erase
  - flake8 --ignore=E501 retdec tests
after_success:
  - coveralls

Fix Travis builds on Python 3.2.
Fix Travis builds on Python 3.2.

There is a new version of the coverage package (4.0), which drops support for
Python 3.2. Therefore, we have to use an older version on Python 3.2.

See travis-ci/travis-ci#4866 for more details.
