language: python

python:
    - "2.6"
    - "2.7"
    - "3.3"

install:
    - if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip --quiet install unittest2; fi
    - python setup.py --quiet install

script:
    - python setup.py --quiet test
    - py3kwarn example.py | grep --quiet 'FixExcept'
    - echo '{}.has_key(3)' | py3kwarn - | grep --quiet 'FixHasKey'
    - echo '3 in {}' | py3kwarn -
    - nosetests -w py3kwarn2to3/tests

after_success:
    - pip install --quiet --use-mirrors coveralls
    - coverage run --branch --omit='*/py3kwarn2to3/*,*/site-packages/*,*/distutils/*' setup.py --quiet test
    - coverage report --show-missing
    - coveralls

language: python

python:
    - "2.6"
    - "2.7"
    - "3.3"

install:
    - if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip --quiet install unittest2; fi
    - python setup.py --quiet install

script:
    - python setup.py --quiet test
    - py3kwarn example.py | grep --quiet 'FixExcept'
    - echo '{}.has_key(3)' | py3kwarn - | grep --quiet 'FixHasKey'
    - echo '3 in {}' | py3kwarn -
    - nosetests -w py3kwarn2to3/tests
    - echo '{}.has_key(3)' | py3kwarn2to3 -

after_success:
    - pip install --quiet --use-mirrors coveralls
    - coverage run --branch --omit='*/py3kwarn2to3/*,*/site-packages/*,*/distutils/*' setup.py --quiet test
    - coverage report --show-missing
    - coveralls

Add smoke test for py3kwarn2to3
Add smoke test for py3kwarn2to3
