mostly run analyzer tests on travis
* [x] regonfigured the build matrix with more php jobs and a separate python job (we can add more python jobs later) * [x] run tests on travis' trusty beta container (it's closer to what we need anyway) * [x] install packages needed for analyzer tests in build env * [x] added docs on how to run nosetests locally * [x] don't run initctl in analyzer setup so setup can also be used on travis (and add it to the install script directly) * [x] ignore replaygain checks on travis (it has proven quite impossible to get the needed python-gi module to work in the provided virtualenv) I tried a lot of solutions to get the replaygain checks to run. I needed to decide that this has gone far enough, maybe someone who is more of a pythonista than me can take a crack at it and get it solved. Even without running those tests on CI/CD there are still plenty others. This PR only has parts of what are needed for getting python tests running on travis as per #15. I only took a quick shot at anything not analyzer and figured I would not be able to "fix" them without digging a bit deeper (ie. also getting rid of std_err_override).
This commit is contained in:
parent
4557395a86
commit
9b3d0c90da
5 changed files with 122 additions and 12 deletions
|
@ -48,11 +48,7 @@ setup(name='airtime_analyzer',
|
|||
zip_safe=False,
|
||||
data_files=data_files)
|
||||
|
||||
# Reload the initctl config so that "service start airtime_analyzer" works
|
||||
# Remind users to reload the initctl config so that "service start airtime_analyzer" works
|
||||
if data_files:
|
||||
print "Reloading initctl configuration"
|
||||
call(['initctl', 'reload-configuration'])
|
||||
print "Run \"sudo service airtime_analyzer restart\" now."
|
||||
|
||||
|
||||
# TODO: Should we start the analyzer here or not?
|
||||
print "Remember to reload the initctl configuration"
|
||||
print "Run \"sudo initctl reload-configuration; sudo service airtime_analyzer restart\" now."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue