language: python
python:
  - "2.7"

install: pip install --use-mirrors
script:
  - python setup.py test

language: python
python:
  - "2.7"

install: pip install
script:
  - python setup.py test

Remove --use-mirrors on pip command line
Remove --use-mirrors on pip command line

The pip Travis CI uses doesn't appear to have this flag anymore.
