blob: a920f3945cd14bdeb19f6012a0763965cb43f06f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001language: python
2python:
3 - "2.7"
4 - "3.4"
5services:
6 - mysql
7 - postgresql
8env:
9 - DJANGO=1.4 DB=sqlite
10 - DJANGO=1.4 DB=mysql
11 - DJANGO=1.4 DB=postgres
12 - DJANGO=1.5 DB=sqlite
13 - DJANGO=1.5 DB=mysql
14 - DJANGO=1.5 DB=postgres
15 - DJANGO=1.6 DB=sqlite
16 - DJANGO=1.6 DB=mysql
17 - DJANGO=1.6 DB=postgres
18 - DJANGO=1.7 DB=sqlite
19 - DJANGO=1.7 DB=mysql
20 - DJANGO=1.7 DB=postgres
21
22matrix:
23 exclude:
24 - python: "3.4"
25 env: DJANGO=1.4 DB=sqlite
26 - python: "3.4"
27 env: DJANGO=1.4 DB=mysql
28 - python: "3.4"
29 env: DJANGO=1.4 DB=postgres
30 - python: "3.4"
31 env: DJANGO=1.5 DB=sqlite
32 - python: "3.4"
33 env: DJANGO=1.5 DB=mysql
34 - python: "3.4"
35 env: DJANGO=1.5 DB=postgres
36 - python: "3.4"
37 env: DJANGO=1.6 DB=mysql
38 - python: "3.4"
39 env: DJANGO=1.7 DB=mysql
40
41before_script:
42 - mysql -e 'create database aggregation;'
43 - psql -c 'create database aggregation;' -U postgres
44install:
45 - pip install six
46 - if [ "$DB" == "mysql" ]; then pip install mysql-python; fi
47 - if [ "$DB" == "postgres" ]; then pip install psycopg2; fi
48 - pip install -q Django==$DJANGO --use-mirrors
49script:
50 - ./runtests.py --settings=tests.test_$DB