.travis.yml 706 B

12345678910111213141516171819202122232425
  1. language: python
  2. python:
  3. - "3.4"
  4. - "3.3"
  5. - "2.7"
  6. - "2.6"
  7. sudo: false
  8. # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
  9. # These packages only exist on Ubuntu 13.04 and newer:
  10. # No dependencies currently unless using Python 2.6.
  11. install:
  12. - if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements_py26.txt --use-mirrors; fi
  13. - python setup.py install
  14. # command to run tests, e.g. python setup.py test
  15. script:
  16. # We might like to get out of the source directory before running tests to
  17. # avoid PYTHONPATH confusion? As an example, see here:
  18. # https://github.com/tornadoweb/tornado/blob/master/.travis.yml
  19. - python setup.py test