language: python
python:
  - "2.6"
  - "2.7"
#  - "3.2" : coverage currently failing : https://bitbucket.org/ned/coveragepy/issues/407/coverage-failing-on-python-325-using
  - "3.3"
  - "3.4"
  - "3.5-dev"
  - "3.5.0b2"
  - "3.5.0b3"
#  - "nightly" : coverage and pep8 currently failing
  - "pypy"
  - "pypy3"

install:
  - pip install --upgrade pep8
  - pip install pep257
  - pip install --upgrade pyflakes
  - pip install unittest2
  - pip install coveralls
  - pip install codecov

before_script:
 - pep8 *.py */*.py
 - pep257 *.py */*.py

script:
 - coverage run -m unittest2.__main__ discover --start-directory=didyoumean --pattern=*.py
 - python didyoumean/readme_examples.py

after_success:
 - coveralls
 - codecov

language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "3.4"
  - "3.5-dev"
  - "3.5.0b2"
  - "3.5.0b3"
#  - "nightly" : coverage and pep8 currently failing
  - "pypy"
  - "pypy3"

install:
  - pip install --upgrade pep8
  - pip install pep257
  - pip install --upgrade pyflakes
  - pip install unittest2
  - pip install coverage==3.7.1 # https://bitbucket.org/ned/coveragepy/issues/407/coverage-failing-on-python-325-using
  - pip install coveralls
  - pip install codecov

before_script:
 - pep8 *.py */*.py
 - pep257 *.py */*.py

script:
 - coverage run -m unittest2.__main__ discover --start-directory=didyoumean --pattern=*.py
 - python didyoumean/readme_examples.py

after_success:
 - coveralls
 - codecov

Install version 3.7 for coverage as it supports 3.2
Install version 3.7 for coverage as it supports 3.2
