Add travis testing.

This commit is contained in:
Quantum 2017-07-15 02:20:59 -04:00
parent 8fa410d6fd
commit cdfc538b8f

15
.travis.yml Normal file
View file

@ -0,0 +1,15 @@
language: python
python:
- "2.7"
- pypy
env:
- DJANGO_VERSION=>=1.8,<1.9
- DJANGO_VERSION=>=1.9,<1.10
- DJANGO_VERSION=>=1.10,<1.11
- DJANGO_VERSION=>=1.11,<2
install:
- pip install . codecov Django$DJANGO_VERSION
script:
- coverage run --source=csp_advanced testproject/manage.py test
after_script:
- codecov