Python implementation of the eix database format
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

34 lines
678 B

  1. TARGET?=test
  2. test:
  3. PYTHONPATH="." python -m pytest tests/ --junit-xml testresults.xml -rxsw -v
  4. compile:
  5. @echo Compiling python code
  6. python -m compileall peix
  7. compile_optimized:
  8. @echo Compiling python code optimized
  9. python -O -m compileall peix
  10. coverage:
  11. coverage erase
  12. PYTHONPATH="." coverage run --source='peix' --branch -m py.test -qq tests/
  13. coverage xml -i
  14. coverage report -m
  15. clean:
  16. find -name "*.py?" -delete
  17. rm -f coverage.xml .coverage
  18. rm -f testresults.xml
  19. rm -fr htmlcov dist *.egg-info
  20. travis: compile compile_optimized test coverage
  21. install_deps:
  22. pip install -r requirements.txt
  23. pip install -r requirements_dev.txt
  24. jenkins: install_deps travis