diff --git a/.travis.yml b/.travis.yml index 45d5ce132..d7d248c33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,15 @@ python: - "2.5" - "2.6" - "2.7" +env: + - DJANGO=dev + - DJANGO=1.4.1 + - DJANGO=1.3.3 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors -install: pip install -r travis-requirements.txt +install: + - pip install django==$DJANGO --use-mirrors + - pip install -e . --use-mirrors + - pip install -r 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 deleted file mode 100644 index 290d4a1da..000000000 --- a/travis-requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -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