diff --git a/.gitignore b/.gitignore index c7bf0a8fe..04dfbede4 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ djangorestframework.egg-info/* MANIFEST !.gitignore +!.travis.yml \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..45d5ce132 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: python +python: + - "2.5" + - "2.6" + - "2.7" +# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors +install: pip install -r travis-requirements.txt +# command to run tests, e.g. python setup.py test +script: python setup.py test diff --git a/travis-requirements.txt b/travis-requirements.txt new file mode 100644 index 000000000..290d4a1da --- /dev/null +++ b/travis-requirements.txt @@ -0,0 +1,8 @@ +django==1.4.1 +django-staticfiles>=1.1.2 +coverage==3.4 +URLObject>=0.6.0 +unittest-xml-reporting==1.2 +Pyyaml==3.10 +# Optional packages: +markdown