Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [tox]
  2. envlist = pep8,py27,py35,py36,py37,coverage
  3. skipsdist = True
  4. skip_missing_interpreters = true
  5.  
  6. [testenv]
  7. install_command = pip install -U -v --no-cache-dir {opts} {packages}
  8. usedevelop = True
  9. commands = nosetests {toxinidir}/ros/tests
  10. deps = -r{toxinidir}/test-requirements.txt
  11.  
  12. [testenv:py27]
  13. basepython = python2.7
  14.  
  15. [testenv:py35]
  16. basepython=python3.5
  17.  
  18. [testenv:py36]
  19. basepython=python3.6
  20.  
  21. [testenv:py37]
  22. basepython=python3.7
  23.  
  24. [testenv:coverage]
  25. basepython=python3
  26. commands = nosetests --with-coverage --cover-package ros --cover-branches --cover-inclusive {toxinidir}/ros/tests
  27.  
  28. [flake8]
  29. show-source = True
  30. max-line-length = 160
  31.  
  32. [testenv:pep8]
  33. basepython = python3.6
  34. commands = flake8 {posargs} bin ros
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement