NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
295 stars 99 forks source link

Fix Travis failures due to Homebrew #100

Closed noloader closed 4 years ago

noloader commented 4 years ago

This PR fixes Travis failures due to Homebrew.

Also see Homebrew fails because an automake update is an error? on the Travis Community message boards. According to the Travis folks brew update can fail if there are no updates. And brew install can fail if there's an update available. The simplest way to cover all the bases is to return true under all conditions.

Returning true for some conditions is incorrect, like a network error. However, we need to get through brew update and brew install, which is the common case.