Skip to content

Commit

Permalink
Fix Travis configuration file for Python 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner committed Apr 12, 2013
1 parent e513fed commit 6cd2b8e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python

python:
- "2.5"
- "2.6"
- "2.7"

Expand All @@ -15,16 +14,18 @@ env:

install:
- pip install $DJANGO --use-mirrors
- pip install coverage coveralls --use-mirrors
- sh -c "if [ '$SOUTH' = '1' ]; then pip install South==0.7.6; fi"
- sh -c "if [ '$COVERALLS' != '0' ]; then pip install coverage coveralls; fi"

script: coverage run -a --branch --include="simple_history/*" --omit="simple_history/tests/*" setup.py test

matrix:
exclude:
include:
- python: 2.5
env: DJANGO=Django==1.5.1 SOUTH=1
env: DJANGO=Django==1.2.7 SOUTH=1 COVERALLS=0
- python: 2.5
env: DJANGO=https://github.com/django/django/tarball/master SOUTH=1
env: DJANGO=Django==1.3.7 SOUTH=1 COVERALLS=0
- python: 2.5
env: DJANGO=Django==1.4.5 SOUTH=1 COVERALLS=0

after_success: coveralls

0 comments on commit 6cd2b8e

Please sign in to comment.