Travis-CI and Python with Pytest
- Simply adding
script: pytest
will not work. - pytest will fail with exit code 5 if it cannot find any test to run.
language: python
script: pytest
def test_anything():
pass
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
script: pytest
will not work.language: python
script: pytest
def test_anything():
pass