language: python
env:
    - TOXENV=py25 PIP_INSECURE=t
    - TOXENV=py26
    - TOXENV=py27
    - TOXENV=py32
    - TOXENV=py33
    - TOXENV=cov
matrix:
  allow_failures:
    - env:
        - TOXENV=cov
install:
    - pip install --quiet --use-mirrors tox coveralls
script:
    - tox
    - if [ $TOXENV == "cov" ]; then coveralls; fi

language: python
env:
    - TOXENV=py25 PIP_INSECURE=t
    - TOXENV=py26
    - TOXENV=py27
    - TOXENV=py32
    - TOXENV=py33
    - TOXENV=cov
matrix:
  allow_failures:
    - env:
        - TOXENV=cov
install:
    - pip install --quiet --use-mirrors tox
script:
    - tox
after_script:
    - if [ $TOXENV == "cov" ]; then
      pip install --quiet --use-mirrors coveralls
      coveralls;
      fi

Install coveralls only when needed
Install coveralls only when needed
