Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Configure Travis to test multiple database backends.

  • Loading branch information...
commit 2e1b847b9b6c7b84c3415fd2159105226a05bdd0 1 parent 1fef36f
@henriquebastos authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 .travis.yml
View
14 .travis.yml
@@ -2,4 +2,16 @@ language: python
python:
- "2.6"
- "2.7"
-script: ./runtests.py
+env:
+ - DJANGO=1.4.3 DB=sqlite
+ - DJANGO=1.4.3 DB=mysql
+ - DJANGO=1.4.3 DB=postgres
+before_script:
+ - mysql -e 'create database aggregation;'
+ - psql -c 'create database aggregation;' -U postgres
+install:
+ - pip install mysql-python
+ - pip install psycopg2
+ - pip install -q Django==$DJANGO --use-mirrors
+script:
+ - ./runtests.py -d $DB
Please sign in to comment.
Something went wrong with that request. Please try again.