aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2012-08-29 21:25:50 +0100
committerTom Christie2012-08-29 21:25:50 +0100
commit2af80a48110f0e731f99b2894810bc8d8aacaddc (patch)
treeb28ce1617d17d30dcbcc4296fed9971fa02334c1
parent578017e01d1da4746ae0045268043cfd74d41b42 (diff)
downloaddjango-rest-framework-2af80a48110f0e731f99b2894810bc8d8aacaddc.tar.bz2
Adding travis config
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..ffd389e7
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: python
+
+python:
+ - "2.6"
+ - "2.7"
+
+env:
+ - DJANGO=https://github.com/django/django/zipball/master TESTS='python setup.py test'
+ - DJANGO=django==1.4.1 --use-mirrors TESTS='python setup.py test'
+ - DJANGO=django==1.3.3 --use-mirrors TESTS='python setup.py test'
+
+# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
+install:
+ - pip install $DJANGO
+ - pip install -e . --use-mirrors
+ - pip install -r requirements.txt
+
+# command to run tests, e.g. python setup.py test
+script:
+ - $TESTS