4f14927...
by
Arnaud Quette <email address hidden>
Cppcheck improvements (#405)
Fix all Cppcheck errors, using standard c89:
* Uninitialized variables,
* Memory leak,
* Brackets balancing,
* Common realloc mistake,
* Possible null pointer dereference,
* Array index out of bounds,
* Not null-terminated string
liebert-esp2 changes: Correct battery V scaling, update docs, implement split-phase unit support (#412)
* Update liebert-esp2 documentation, include note that port on GXT2 series does not fully follow RS-232 specs.
* Refactor output format of liebert-esp2 driver to follow that of other drivers to fix the nut-cgi interface as well as for overall consistency. Implement support for 2 phase i.e. split phase input Liebert GXT2 series units. Correct battery voltage scaling for GXT2 series units as well.
Problem: NUT tests in Travis CI often wait for default-withdoc
Solution in .travis.yml : since Travis cloud starts the jobs as soon as it has resources, move the bulk of quicker matrix jobs to start after the longest withdocs build. Experimental note: we still need one job defined in the simple matrix for default environment, but can keep others in a single explicitly ordered list. Now the "Running for" time got cut from 8-9 to 5.5-6 minutes.