I am building a python application in travis. I have setup.py which basically runs the command:
py.test packageName
when we do: setup.py test
I am trying to run coverage plugin to push to coveralls so when i run the command:
coverage run setup.py test
it fails with :
running test
Coverage.py warning: No data was collected.
It is collecting all the test cases but just doesn't collect the data for some reason. My covezragerc looks like this:
> [run] omit = respawn/gen.py, respawn/cli.py, respawn/test/*
> data_file = .coverage
Any reasons why ??