.travis.yml 410 B

12345678910111213141516171819
  1. language: python
  2. python:
  3. - "3.4"
  4. - "2.7"
  5. - "pypy"
  6. env:
  7. - "$DJANGO_DRF='django<1.8' 'djangorestframework<3'"
  8. - "$DJANGO_DRF='djangorestframework>=3'"
  9. # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
  10. install:
  11. - pip install $DJANGO_DRF
  12. - pip install -r requirements-dev.txt
  13. - pip freeze
  14. # command to run tests, e.g. python setup.py test
  15. script: make check