Skip to content

Commit

Permalink
Added python 3 and django 1.5 to travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
rafales committed Dec 4, 2012
1 parent a9c87c0 commit 7b29505
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
22 changes: 17 additions & 5 deletions .travis.yml
Expand Up @@ -3,21 +3,33 @@ python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
before_install:
- export PIP_USE_MIRRORS=true
- export PIP_INDEX_URL=https://simple.crate.io/
- export DJANGO_SETTINGS_MODULE=appconf.test_settings
install:
- pip install -e .
- pip install -r requirements/tests.txt Django==$DJANGO
- pip install https://github.com/django/django/archive/${DJANGO}.zip#egg=django
- pip install -r requirements/tests.txt
before_script:
- flake8 appconf --ignore=E501
script:
- coverage run --branch --source=appconf `which django-admin.py` test appconf
- coverage report --omit=appconf/test*
env:
- DJANGO=1.3.1
- DJANGO=1.4
- DJANGO=1.3.4
- DJANGO=1.4.2
- DJANGO=1.5b1
branches:
only:
- develop
except:
- master

matrix:
exclude:
- python: "2.5"
env: DJANGO=1.5b1
- python: "3.2"
env: DJANGO=1.3.4
- python: "3.2"
env: DJANGO=1.4.2
2 changes: 1 addition & 1 deletion requirements/tests.txt
@@ -1,3 +1,3 @@
flake8
coverage
django-discover-runner
https://github.com/rafales/django-discover-runner/archive/py3-support.zip#egg=django-discover-runner

0 comments on commit 7b29505

Please sign in to comment.