Change travis configuration to use the new tests system
parent
8003abbbef
commit
eb29332bb4
|
@ -8,3 +8,4 @@ media
|
|||
*.pyc
|
||||
*.mo
|
||||
.venv
|
||||
.coverage
|
||||
|
|
|
@ -8,10 +8,9 @@ addons:
|
|||
before_script:
|
||||
- psql -c 'create database taiga;' -U postgres
|
||||
install:
|
||||
- pip install -r requirements.txt --use-mirrors
|
||||
- pip install coveralls --use-mirrors
|
||||
- pip install -r requirements-devel.txt --use-mirrors
|
||||
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:
|
||||
email:
|
||||
recipients:
|
||||
|
|
|
@ -5,3 +5,6 @@ py==1.4.20
|
|||
pytest==2.5.2
|
||||
pytest-django==2.6.1
|
||||
pytest-pythonpath==0.3
|
||||
|
||||
coverage==3.7.1
|
||||
coveralls-0.4.2
|
||||
|
|
Loading…
Reference in New Issue