mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-04 19:44:43 +00:00
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
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
|