.travis.yml 667 B

123456789101112131415161718
  1. language: python
  2. python:
  3. - "2.7"
  4. # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
  5. install:
  6. - "pip install -r requirements.txt"
  7. - "pip install coveralls"
  8. - "pip install ."
  9. # command to run tests, e.g. python setup.py test
  10. script:
  11. coverage run --source=pwman setup.py test
  12. #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
  13. after_success:
  14. coveralls