language: python
python:
    - "3.3"
script:
    - python -m unittest -v
    - coverage run --branch -m test
    - coverage report
    - python setup.py install
    - python setup.py sdist
after_success:
    - coveralls

language: python
python:
    - "3.3"
install:
    - pip install coveralls
script:
    - python -m unittest -v
    - coverage run --branch -m test
    - coverage report
    - python setup.py install
    - python setup.py sdist
after_success:
    - coveralls

Install coveralls before running build script
Install coveralls before running build script

The first Travis CI build failed because coveralls is not
installed before submitting code coverage data to coveralls.io.
Fix this issue by installing coveralls before running the build
script.
