2
0

.travis.yml 543 B

12345678910111213141516
  1. language: python
  2. # Workaround to make 2.7 use system site packages, and 2.6 and 3.4 not use system
  3. # site packages.
  4. # https://github.com/travis-ci/travis-ci/issues/2219#issuecomment-41804942
  5. python:
  6. - "2.6"
  7. - "2.7_with_system_site_packages"
  8. - "3.4"
  9. - "pypy"
  10. script:
  11. - PYTHONHASHSEED=random python setup.py test
  12. - make check-noextensions
  13. install:
  14. - sudo apt-get update
  15. - sudo apt-get install -qq git python-setuptools python-gevent python-fastimport python-mock
  16. - if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install unittest2; fi