Change travis configuration to use the new tests system

remotes/origin/enhancement/email-actions
David Barragán Merino 2014-05-22 18:51:34 +02:00
parent 8003abbbef
commit eb29332bb4
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ media
*.pyc *.pyc
*.mo *.mo
.venv .venv
.coverage

View File

@ -8,10 +8,9 @@ addons:
before_script: before_script:
- psql -c 'create database taiga;' -U postgres - psql -c 'create database taiga;' -U postgres
install: install:
- pip install -r requirements.txt --use-mirrors - pip install -r requirements-devel.txt --use-mirrors
- pip install coveralls --use-mirrors
script: script:
- coverage run --source=taiga --omit='*tests*,*commands*,*migrations*,*admin*,*.jinja,*dashboard*,*settings*,*wsgi*,*questions*,*documents*' manage.py test --settings=settings.travis taiga - coverage run --source=taiga --omit='*tests*,*commands*,*migrations*,*admin*,*.jinja,*dashboard*,*settings*,*wsgi*,*questions*,*documents*' -m py.test
notifications: notifications:
email: email:
recipients: recipients:

View File

@ -5,3 +5,6 @@ py==1.4.20
pytest==2.5.2 pytest==2.5.2
pytest-django==2.6.1 pytest-django==2.6.1
pytest-pythonpath==0.3 pytest-pythonpath==0.3
coverage==3.7.1
coveralls-0.4.2