.travis.yml 671 B

123456789101112131415161718
  1. language: python
  2. python:
  3. - 2.7
  4. - 3.4
  5. # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
  6. install:
  7. - "pip install -r requirements.txt"
  8. - "pip install coveralls"
  9. - "pip install ."
  10. # command to run tests, e.g. python setup.py test
  11. script:
  12. coverage run --source=pwman setup.py test
  13. #coverage run --omit="pwman/tests/*.py,pwman/ui/mac.py,pwman/ui/win.py,pwman/data/convertdb.py,pwman/data/nodes_multiple_approach.py,pwman/data/models.py,pwman/data/drivers/postgresql.py,pwman/data/drivers/mysql.py,pwman/exchange/importer.py,pwman/ui/base.py" --source=pwman setup.py test
  14. after_success:
  15. coveralls