language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
install:
  - pip install .
  - pip install -r requirements.txt
  - pip install coveralls
script: nosetests --with-coverage
after_success:
  - coveralls

language: python
env:
  - TOXENV=py27
  - TOXENV=py33
  - TOXENV=py34
  - TOXENV=coverage
install:
  - pip install tox
  - if [ "$TOXENV" = "coverage" ]; then pip install coveralls; fi
script:
  - export PYTHONPATH=$PYTHONPATH:`pwd`
  - tox
after_success:
  - if [ "$TOXENV" = "coverage" ]; then coveralls; fi

Use tox on Travis CI.
Use tox on Travis CI.
