comparison between signed and unsigned integer expressions
Use uint32_t to store timestamp instead of int32_t.
Adjust comparison to use timestamp as a zero-basis.
This also avoids a bugs where a record that is added just before millis() overflows would never be removed from the list.
This modification reduces the IPTABLES rules to the minimum needed.
Specifically, it does NOT create default rules, or edit any existing rules.
Instead, it only adds rules to drop mDNS at 5353/udp, and to drop all
incoming traffic that's addressed to the mDNS multicast IP address.
When skipping a sketch, would previously show the build output
from the prior sketch. This may also have caused a build error
if the first sketch was skipped (unverified).
Workaround for Arduino mDNS output noise using IPTABLES.
See https://forum.arduino.cc/index.php?topic=469428.0
See https://github.com/per1234/arduino-ci-script/issues/1
Arduino IDE adds a lot of noise caused by network traffic (mDNS?),
because it's listening for network-attached devices.
Firewall it in the TravisCI environment to cleanup logs.
Allow jobs with all warnings enabled to fail.
This enables the build to occur, and review of warnings,
without requiring these builds to be clean of warnings.
Also, only outputs the error logs (not full build logs)
for these build options. This is a critical step
towards getting to 100% warning-free builds, without
interrupting current processes.
This change allows TravisCI integration for forks on
free accounts. Those would otherwise fail, due to a
hard-coded and non-configurable 50 minute job limt
imposed by TravisCI.
This will also help avoid the 120 minute job limit
that applies to non-free accounts, which the current
builds are quickly approaching....