-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
36 lines (36 loc) · 1.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: python
python:
- "2.5"
- "2.6"
- "2.7"
env:
- DJANGO=Django==1.3.5 DB=sqlite
- DJANGO=Django==1.3.5 DB=postgres
- DJANGO=Django==1.3.5 DB=mysql
- DJANGO=Django==1.4.3 DB=sqlite
- DJANGO=Django==1.4.3 DB=postgres
- DJANGO=Django==1.4.3 DB=mysql
- DJANGO=https://github.com/django/django/zipball/master DB=sqlite
- DJANGO=https://github.com/django/django/zipball/master DB=postgres
- DJANGO=https://github.com/django/django/zipball/master DB=mysql
matrix:
exclude:
- python: "2.5"
env: DJANGO=https://github.com/django/django/zipball/master DB=sqlite
- python: "2.5"
env: DJANGO=https://github.com/django/django/zipball/master DB=postgres
- python: "2.5"
env: DJANGO=https://github.com/django/django/zipball/master DB=mysql
before_script:
- flake8 --max-line-length=100 modeltranslation
- mysql -e 'create database modeltranslation;'
- psql -c 'create database modeltranslation;' -U postgres
install:
- pip install -q mysql-python --use-mirrors
- pip install -q psycopg2 --use-mirrors
- pip install -q Pillow --use-mirrors
- pip install -q flake8 --use-mirrors
- pip install -q $DJANGO
- pip install -e . --use-mirrors
script:
- ./runtests.py