coverage with django 1.7 / python 3.4
This commit is contained in:
parent
9c8f80659d
commit
259bd91d07
1 changed files with 5 additions and 5 deletions
10
.travis.yml
10
.travis.yml
|
@ -9,16 +9,16 @@ env:
|
||||||
- DJANGO='1.7'
|
- DJANGO='1.7'
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [[ $DJANGO == '1.6' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install django==1.6; fi
|
- if [[ $DJANGO == '1.6' ]]; then pip install django==1.6; fi
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- if [[ $DJANGO == '1.6' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; fi
|
- if [[ $DJANGO == '1.7' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ $DJANGO == '1.6' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py manage.py test; fi
|
- if [[ $DJANGO == '1.7' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py manage.py test; fi
|
||||||
- if [[ $DJANGO != '1.6' || $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi
|
- if [[ $DJANGO != '1.7' || $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
if [[ $DJANGO == '1.6' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi
|
if [[ $DJANGO == '1.7' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue