Commits

djm_ committed b00ad65

Updating .travis.yml to run minor point versions of django releases without explicitly specifying them.

Comments (0)

Files changed (1)

   - "pypy"
 
 env:
-  - DJANGO_VERSION=1.2.7
-  - DJANGO_VERSION=1.3.7
-  - DJANGO_VERSION=1.4.6
-  - DJANGO_VERSION=1.5.2
+  - DJANGO_VERSION=1.2 DJANGO_INSTALL=">= 1.2, < 1.3"
+  - DJANGO_VERSION=1.3 DJANGO_INSTALL=">= 1.3, < 1.4"
+  - DJANGO_VERSION=1.4 DJANGO_INSTALL=">= 1.4, < 1.5"
+  - DJANGO_VERSION=1.5 DJANGO_INSTALL=">= 1.5, < 1.6"
+  - DJANGO_VERSION='latest' DJANGO_INSTALL=""
 
 matrix:
     include:
         - python: "2.7"
-          env: DJANGO_VERSION=1.5.2 OLD_WEBTEST=1
+          env: DJANGO_VERSION=1.5 OLD_WEBTEST=1
     exclude:
         - python: "3.2"
-          env: DJANGO_VERSION=1.2.7
+          env: DJANGO_VERSION=1.2
         - python: "3.2"
-          env: DJANGO_VERSION=1.3.7
+          env: DJANGO_VERSION=1.3
         - python: "3.2"
-          env: DJANGO_VERSION=1.4.6
+          env: DJANGO_VERSION=1.4
         - python: "3.3"
-          env: DJANGO_VERSION=1.2.7
+          env: DJANGO_VERSION=1.2
         - python: "3.3"
-          env: DJANGO_VERSION=1.3.7
+          env: DJANGO_VERSION=1.3
         - python: "3.3"
-          env: DJANGO_VERSION=1.4.6
+          env: DJANGO_VERSION=1.4
         - python: "pypy"
-          env: DJANGO_VERSION=1.2.7
+          env: DJANGO_VERSION=1.2
         - python: "pypy"
-          env: DJANGO_VERSION=1.3.7
+          env: DJANGO_VERSION=1.3
 
 
 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
 install:
-  - pip install django==$DJANGO_VERSION
+  - pip install "django $DJANGO_INSTALL"
   - if [[ $OLD_WEBTEST ]]; then pip install 'WebTest < 2.0'; else pip install WebTest; fi
   - python setup.py install
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.